- 1、原创力文档(book118)网站文档一经付费(服务费),不意味着购买了该文档的版权,仅供个人/单位学习、研究之用,不得用于商业用途,未经授权,严禁复制、发行、汇编、翻译或者网络传播等,侵权必究。。
- 2、本站所有内容均由合作方或网友上传,本站不对文档的完整性、权威性及其观点立场正确性做任何保证或承诺!文档内容仅供研究参考,付费前请自行鉴别。如您付费,意味着您自己接受本站规则且自行承担风险,本站不退款、不进行额外附加服务;查看《如何避免下载的几个坑》。如果您已付费下载过本站文档,您可以点击 这里二次下载。
- 3、如文档侵犯商业秘密、侵犯著作权、侵犯人身权等,请点击“版权申诉”(推荐),也可以打举报电话:400-050-0827(电话支持时间:9:00-18:30)。
查看更多
chap2.1~2.3处理器中断技术进程及其实现.2013
* * Processor State Information Contents of processor registers User-visible registers Control and status registers Stack pointers Program status word (PSW) contains status information Example: the EFLAGS register on Pentium machines Pentium II EFLAGS Register Process Context (进程上下文) User-level context: include process program, process data, user stack Register context: include PSW, stack pointer, general-purpose register System-level context: include PCB, memory region table, kernel stack Process States Process Description Process Control Modes of Execution Process Creation Process Switching Execution of the OS Summary Examples: Process 4. 进程控制和管理 Modes of Execution User mode Less-privileged mode User programs typically execute in this mode System mode, control mode, or kernel mode More-privileged mode Kernel of the operating system 4.进程的控制和管理 Process States Process Description Process Control Modes of Execution Process Creation Process Switching Execution of the OS Summary Examples: Process Process Creation Assign a unique process identifier Allocate space for the process Initialize process control block Set up appropriate linkages Ex: add new process to linked list used for scheduling queue Create of expand other data structures Ex: maintain an accounting file 4.进程的控制和管理 Process Creation login shell scheduler Swap process OS process Get_tty1 login shell Get_ttyn Application Application Application Application Application Process Cancel Find the PCB in the queue by process identifier De-allocate all resources from the process Cancel sub processes of this process Return the process control block to PCB pool Process Description and Control Process States Process Description Process Control Process Creation Process Switching Execution of the OS Summary Examples: Process 4.进程的控制和管理 When to Switch a Process Clock interrupt process has executed for the maximum allowable time slice I/O interrupt Memory fault memory address is in virtual memory so it must be brought int
您可能关注的文档
最近下载
- 焊接方法与设备使用教学作者曹朝霞齐勇田主编其他焊接方法.pptx VIP
- 医院培训课件:《高警示等特殊药品管理规范》.pptx
- 2024年小微企业和个体户税收最新优惠政策宣讲培训课件(增值税小规模纳税人新政、“六税两费”减免、小微企业减免企业所得税、个体工商户减半征收个人所得税政策等内容)).docx
- 专升本《招投标与合同管理》教案.ppt VIP
- 中考物理专题2比热容易错分析(解析版).docx VIP
- 项目部综合办公室年度工作总结.docx VIP
- 教师数学教学经验分享精品课件.pptx VIP
- 重庆市渝中区2023-2024学年三年级下学期期末语文试卷(含答案).pdf VIP
- ZZ042 数字艺术设计赛题赛题-2023年全国职业院校技能大赛拟设赛项赛题完整版(10套).docx VIP
- (统编版2024版)七年级历史新教材新变化及教学建议 课件.pptx
文档评论(0)