- 11
- 0
- 约6.67千字
- 约 38页
- 2020-10-24 发布于天津
- 举报
CPU Protection-工作与休息 Timer(定时器) – interrupts computer after specified period to ensure operating system maintains control. Timer is decremented every clock tick. When timer reaches the value 0, an interrupt occurs. Timer commonly used to implement time sharing. Time also used to compute the current time. Load-timer is a privileged instruction. Network Structure Local Area Networks (LAN) Wide Area Networks (WAN) Local Area Network Structure Wide Area Network Structure OS system components CPU - Process management Memory - Main-memory management Disk - File management Storage system - Secondary-storage management I/O - I/O-system management 不同计算机连起来 - Networking 保护和安全 - Protection system 计算机为人所用 - User interface system summary 从OS角度看计算机系统 硬件保护 双模态、定时器 OS自身的系统组件 操作系统第2章 Computer-System Architecture Computer-System Architecture 指令系统 Computer-System Operation 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. 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. A trap (陷阱) is a software-generated interrupt caused either by an error or a user request. An operating system is interrupt driven.(操作系统的运行是一种中断驱动机制) OS Application user hardware OS启动后,设置好环境, 设置好trap和interrupt。 然后自顾自地运行 有事call OS 有事发interrupt Interrupt Handling The operating system preserves the state of the CPU by storing registers and the program counter(PC). Determines which ty
您可能关注的文档
最近下载
- 传统基材润湿流平(氟碳硅烷嵌段).pdf VIP
- 南京财经大学2024-2025学年第1学期《高等数学(上)》期末考试试卷(B卷)附参考答案.pdf
- C4D课程考试试题及参考答案.doc VIP
- 2025年陕西公务员申论考试真题及答案B卷.docx VIP
- [渝粤教育] 西北工业大学 航天器控制原理 mooc 资料.docx VIP
- 航天器控制原理(西北工业大学)中国大学MOOC 慕课 章节测验 期末考试答案.pdf VIP
- 精品解析:2025年陕西省中考数学试题(原卷版).docx VIP
- 四维度主力跟踪.pdf
- 2022年陕西省中考数学真题(原卷版).docx VIP
- 大众网关控制器和bcm车身控制模块针脚定义非常有用.pdf VIP
原创力文档

文档评论(0)