- 1、原创力文档(book118)网站文档一经付费(服务费),不意味着购买了该文档的版权,仅供个人/单位学习、研究之用,不得用于商业用途,未经授权,严禁复制、发行、汇编、翻译或者网络传播等,侵权必究。。
- 2、本站所有内容均由合作方或网友上传,本站不对文档的完整性、权威性及其观点立场正确性做任何保证或承诺!文档内容仅供研究参考,付费前请自行鉴别。如您付费,意味着您自己接受本站规则且自行承担风险,本站不退款、不进行额外附加服务;查看《如何避免下载的几个坑》。如果您已付费下载过本站文档,您可以点击 这里二次下载。
- 3、如文档侵犯商业秘密、侵犯著作权、侵犯人身权等,请点击“版权申诉”(推荐),也可以打举报电话:400-050-0827(电话支持时间:9:00-18:30)。
- 4、该文档为VIP文档,如果想要下载,成为VIP会员后,下载免费。
- 5、成为VIP后,下载本文档将扣除1次下载权益。下载后,不支持退款、换文档。如有疑问请联系我们。
- 6、成为VIP后,您将拥有八大权益,权益包括:VIP文档下载权益、阅读免打扰、文档格式转换、高级专利检索、专属身份标志、高级客服、多端互通、版权登记。
- 7、VIP文档为合作方或网友上传,每下载1次, 网站将根据用户上传文档的质量评分、类型等,对文档贡献者给予高额补贴、流量扶持。如果你也想贡献VIP文档。上传文档
查看更多
chapter 2 computer-system structures计算机系统结构
Chapter 2: Computer-System Structures计算机系统结构 2.1 Computer System Operation计算机系统运行 2.2 I/O Structure I/O结构 2.3 Storage Structure存储构造 2.4 Storage Hierarchy存储层次 2.5 Hardware Protection硬件保护 2.6 Network Structure网络结构 2.1 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操作已完成 Fig 2.1 Computer-System Architecture计算机系统体系结构 Common Functions of Interrupts 中断的常见功能 Interrupt 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.当另一个中断正在处理时,刚进入的中断不能响应,以免丢失中断 Common Functions of Interrupts (Cont.) A trap is a software-generated interrupt caused either by an error or a user request. 陷阱是由于出错或用户请求引起的软件生成的中断 An operating system is interrupt driven. 操作系统是中断驱动的 Interrupt Handling中断处理 The operating system preserves the state of the CPU by storing registers and the program counter.操作系统通过保存寄存器和程序计数器而保留了CPU的状态 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 对每一类中断分离代码段,以确定应该采取什么反应 Fig 2.2 Interrupt Time Line For a Single Process Doing Output单进程处理输出的中断时间线 2.2 I/O Structure I/O结构 SynchronousI/O:After I/O starts, control returns to user program only upon I/O compl
您可能关注的文档
最近下载
- 必修 中外历史纲要(上)第2课诸侯纷争与变法运动 课件(共24张PPT).pptx VIP
- 分析化学英文课件CH01 Introduction 0830.ppt VIP
- 【新】珠海市纳税百强企业名单(权威).docx VIP
- 某水厂反恐应急预案范本.pdf VIP
- 2025河南省红十字血液中心招聘合同制人员12人笔试备考题库及答案解析.docx VIP
- 道德经全文和译文.doc VIP
- 一种永磁同步电机旋变零位初始角自学习方法及系统.pdf VIP
- 2025年交管学法减分考试题库以及答案(160题完整版) .pdf VIP
- GB50068-2018建筑结构可靠性设计统一标准.doc VIP
- 化工单元过程及操作练习题(附答案).docx VIP
文档评论(0)