CCH_OSstructure操作系统.ppt

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

Module 2: Computer-System Structures 计算机系统结构 Computer System Operation 计算机系统操作 Storage Structure 存储构造 Storage Hierarchy 存储层次 Hardware Protection 硬件保护 Computer-System Architecture 计算机系统体系结构 Computer-System Operation 计算机系统操作 I/O devices and the CPU can execute concurrently. I/O 设备与CPU可并行运行 Each device controller is in charge of a particular device type. 每一设备控制器负责一个设备类型 Each device controller has a local buffer. 每一设备控制器有一局部缓存 CPU moves data from/to main memory to/from local buffers CPU 通过局部缓存与主存交换数据 I/O is from the device to local buffer of controller. I/O从设备到设备控制器的局部缓存 Device controller informs CPU that it has finished its operation by causing an interrupt. 设备控制器通过引起中断通知CPU操作已完成 中断机制 hardware interrupt硬件中断 device controller informs CPU that it has finished its operation by causing an interrupt disk, timer, etc. software interrupt (trap)软件中断(陷阱) a trap (or an exception异常) division by zero, invalid memory access a system call 系统调用(also called a monitor call) read( ), write( ) Why the interrupt? make the system more efficient and meanwhile more responsive common functions of interrupts a modern operating system is interrupt driven 现代操作系统是中断驱动的 interrupt transfers control to the interrupt service routine (interrupt handler) generally 中断将控制权转移到中断服务程序 a generic routine to examine the interrupt information, and in turn call the specific handler through the interrupt vector, which contains the addresses of all the service routines e.g. MS-DOS, UNIX separate segments of code determine what action should be taken for each type of interrupt I/O Structure peripheral device(s) attached to device controller设备与设备控制器相连 a device controller (hardware) local buffer storage 本地缓冲器 a set of registers 一组寄存器 device driver, usually a software program embedded into an OS设备驱动程序 I/O Interrupts two ways of an I/O operation 两种I/O操作 Synchronous 同步 Asynchronous异步 synchronous I/O mode: after I/O starts, control retu

文档评论(0)

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

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

1亿VIP精品文档

相关文档