网站大量收购闲置独家精品文档,联系QQ:2885784924

chap2.12.3处理器、中断技术、进程及其实现.2013.ppt

chap2.12.3处理器、中断技术、进程及其实现.2013.ppt

  1. 1、本文档共159页,可阅读全部内容。
  2. 2、有哪些信誉好的足球投注网站(book118)网站文档一经付费(服务费),不意味着购买了该文档的版权,仅供个人/单位学习、研究之用,不得用于商业用途,未经授权,严禁复制、发行、汇编、翻译或者网络传播等,侵权必究。
  3. 3、本站所有内容均由合作方或网友上传,本站不对文档的完整性、权威性及其观点立场正确性做任何保证或承诺!文档内容仅供研究参考,付费前请自行鉴别。如您付费,意味着您自己接受本站规则且自行承担风险,本站不退款、不进行额外附加服务;查看《如何避免下载的几个坑》。如果您已付费下载过本站文档,您可以点击 这里二次下载
  4. 4、如文档侵犯商业秘密、侵犯著作权、侵犯人身权等,请点击“版权申诉”(推荐),也可以打举报电话:400-050-0827(电话支持时间:9:00-18:30)。
查看更多
* * 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

文档评论(0)

junjun37473 + 关注
实名认证
内容提供者

该用户很懒,什么也没介绍

1亿VIP精品文档

相关文档