- 1、本文档共39页,可阅读全部内容。
- 2、有哪些信誉好的足球投注网站(book118)网站文档一经付费(服务费),不意味着购买了该文档的版权,仅供个人/单位学习、研究之用,不得用于商业用途,未经授权,严禁复制、发行、汇编、翻译或者网络传播等,侵权必究。
- 3、本站所有内容均由合作方或网友上传,本站不对文档的完整性、权威性及其观点立场正确性做任何保证或承诺!文档内容仅供研究参考,付费前请自行鉴别。如您付费,意味着您自己接受本站规则且自行承担风险,本站不退款、不进行额外附加服务;查看《如何避免下载的几个坑》。如果您已付费下载过本站文档,您可以点击 这里二次下载。
- 4、如文档侵犯商业秘密、侵犯著作权、侵犯人身权等,请点击“版权申诉”(推荐),也可以打举报电话:400-050-0827(电话支持时间:9:00-18:30)。
查看更多
第2章硬件的环境 No Slide Title
实用操作系统概念 内容框架 概述 体系结构 进程管理 内存管理 文件管理 外设管理 内容 Ch2: 计算机体系结构 Ch3: 操作系统体系结构 Ch2:体系结构 Modern computer system structure 中断机制 CPU I/O Structure Storage Structure Hardware Protection General System Architecture Modern computer system structure I/O devices and the CPU can execute concurrently. 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 I/O is from the device to local buffer of controller. Device controller informs CPU that it has finished its operation by causing an interrupt. 中断机制 An operating system is interrupt driven Interrupts transfers control to the interrupt service routine generally, through the interrupt vector, which contains the addresses of all the service routines. Interrupt architecture must save the address of the interrupted instruction. Incoming interrupts are disabled while another interrupt is being processed to prevent a lost interrupt.. 中断机制 The operating system preserves the state of the CPU by storing registers and the program counter. Determines which type of interrupt has occurred: polling vectored interrupt system Separate segments of code determine what action should be taken for each type of interrupt I/O Structure Two I/O methods Two I/O methods Synchronous After I/O starts, control returns to user program only upon I/O completion. wait instruction idles the CPU until the next interrupt wait loop (contention for memory access). At most one I/O request is outstanding at a time, no simultaneous I/O processing. Two I/O methods Asynchronous After I/O starts, control returns to user program without waiting for I/O completion. System call – request to the operating system to allow user to wait for I/O completion. Device-status table contains entry for each I/O device indicating its type, address, and state. Operating system indexes into I/O device table to determine device status and to
您可能关注的文档
- 空间直线位置的关系(第1课时)课件1.ppt
- 穿越铁路施工的方案.doc
- 立体几何知识点总结3.ppt
- 空间线面的关系的判定课件1.ppt
- 立宇集团的项目开发可行性的报告.doc
- 窗体对象功能的设计.ppt
- 立井提升系统安全运输新型成套专用设备移地扩产改造的项目.doc
- 立恒钢铁145t焦化化产回收施工组织的设计.doc
- 秦皇岛明日星城社区商圈规划的方案.ppt
- 站房工程冬季施工的方案.doc
- 师缘主题课件必威体育精装版完整版本.pptx
- 基于偏好MOEA_D算法的气发动机多目标优化标定研究.pdf
- 师范技能课件比赛一等奖必威体育精装版完整版本.pptx
- 师范生初中美术说课课件必威体育精装版完整版本.pptx
- 师范技能课件图片素材库必威体育精装版完整版本.pptx
- Unit 2 Making a Difference Understanding ideas The Well that changed the world 教学设计-高中英语外研版(2019)必修第三册.docx
- 师范生技能大赛PPT课件语文必威体育精装版完整版本.pptx
- 基于扭矩的双燃料发动机控制策略研究.pdf
- 1.2.1 等差数列的概念及其通项公式(教学设计)高二数学(北师大版2019选择性必修第二册).docx
- 师范文化课件必威体育精装版完整版本.pptx
文档评论(0)