没有合适的资源?快使用搜索试试~ 我知道了~
pintos-pro-项目-用户程序.pdf
1.该资源内容由用户上传,如若侵权请联系客服进行举报
2.虚拟产品一经售出概不退款(资源遇到问题,请及时私信上传者)
2.虚拟产品一经售出概不退款(资源遇到问题,请及时私信上传者)
版权申诉
0 下载量 92 浏览量
2021-10-12
22:32:50
上传
评论
收藏 7.73MB PDF 举报
温馨提示
![preview](https://dl-preview.csdnimg.cn/32216211/0001-6958e7579e76823319df0aba446a20df_thumbnail.jpeg)
![preview-icon](https://csdnimg.cn/release/downloadcmsfe/public/img/scale.ab9e0183.png)
试读
47页
pintos-pro-项目-用户程序.pdf
资源推荐
资源详情
资源评论
![doc](https://img-home.csdnimg.cn/images/20210720083327.png)
![doc](https://img-home.csdnimg.cn/images/20210720083327.png)
![zip](https://img-home.csdnimg.cn/images/20210720083736.png)
![gz](https://img-home.csdnimg.cn/images/20210720083447.png)
![zip](https://img-home.csdnimg.cn/images/20210720083736.png)
![zip](https://img-home.csdnimg.cn/images/20210720083736.png)
![zip](https://img-home.csdnimg.cn/images/20210720083736.png)
![zip](https://img-home.csdnimg.cn/images/20210720083736.png)
![zip](https://img-home.csdnimg.cn/images/20210720083736.png)
![zip](https://img-home.csdnimg.cn/images/20210720083736.png)
![tar](https://img-home.csdnimg.cn/images/20210720083646.png)
![zip](https://img-home.csdnimg.cn/images/20210720083736.png)
![rar](https://img-home.csdnimg.cn/images/20210720083606.png)
![zip](https://img-home.csdnimg.cn/images/20210720083736.png)
![](https://csdnimg.cn/release/download_crawler_static/32216211/bg1.jpg)
pintos-pro- -
![](https://csdnimg.cn/release/download_crawler_static/32216211/bg2.jpg)
2
![](https://csdnimg.cn/release/download_crawler_static/32216211/bg3.jpg)
3
Pintos project2
QQ:357543420
pintos
Project2
Task1 Process Termination Messages
Task2 Argument Passing
Task3 System Calls
Task4 Denying Writes to Executables
Task1: Process Termination Messages
1. ( main
printf ( %s: exit(%d) n,..);
![](https://csdnimg.cn/release/download_crawler_static/32216211/bg4.jpg)
4
1.
struct thread
int ret;
init_thread() 0
2. ret
exit
printf()
thread_exit()
thread_exit()
process_exit() process_exit()
NULL,
NULL, if(pd!=NULL){ }
:
printf ( %s: exit(%d) ncur->name,cur->ret);
cur=thread_current(); struct thread
TASK1 OK
![](https://csdnimg.cn/release/download_crawler_static/32216211/bg5.jpg)
5
TASK2 Argument Passing
1.
2. C
1. : string.h strtok_r() string.c
2. process_execute() thread_create()
( )
char *real_name, *save_ptr;
real_name = strtok_r (file_name, " ", &save_ptr);
tid = thread_create (real_name, PRI_DEFAULT, start_process,
fn_copy);
3 start_process()
process_execute() file_name
file_name
(Debug here 3 weeks) Load()
load()
剩余46页未读,继续阅读
资源评论
![avatar-default](https://csdnimg.cn/release/downloadcmsfe/public/img/lazyLogo2.1882d7f4.png)
![avatar](https://profile-avatar.csdnimg.cn/default.jpg!1)
weixin_40895192
- 粉丝: 18
- 资源: 21万+
![benefits](https://csdnimg.cn/release/downloadcmsfe/public/img/vip-rights-1.c8e153b4.png)
下载权益
![privilege](https://csdnimg.cn/release/downloadcmsfe/public/img/vip-rights-2.ec46750a.png)
C知道特权
![article](https://csdnimg.cn/release/downloadcmsfe/public/img/vip-rights-3.fc5e5fb6.png)
VIP文章
![course-privilege](https://csdnimg.cn/release/downloadcmsfe/public/img/vip-rights-4.320a6894.png)
课程特权
![rights](https://csdnimg.cn/release/downloadcmsfe/public/img/vip-rights-icon.fe0226a8.png)
开通VIP
上传资源 快速赚钱
我的内容管理 展开
我的资源 快来上传第一个资源
我的收益
登录查看自己的收益我的积分 登录查看自己的积分
我的C币 登录后查看C币余额
我的收藏
我的下载
下载帮助
![voice](https://csdnimg.cn/release/downloadcmsfe/public/img/voice.245cc511.png)
![center-task](https://csdnimg.cn/release/downloadcmsfe/public/img/center-task.c2eda91a.png)
安全验证
文档复制为VIP权益,开通VIP直接复制
![dialog-icon](https://csdnimg.cn/release/downloadcmsfe/public/img/green-success.6a4acb44.png)