操作系统课堂笔记——02,操作系统基础知识
2.1,OS的启动
DISK:存放OS
BIOS:基本的I/O处理系统
Bootloader:加载OS

POST(加电自检):寻找显卡和执行BIOS

2.2,OS与设备和程序交互
- 系统调用,异常,中断


三大交互事件的源头:
- 中断:外设
- 异常:应用程序意想不到的行为
系统调用:应用程序请求操作提供服务
三大交互事件的处理时间
- 中断:异步
- 异常:同步
系统调用:异步或者同步
三大交互事件的响应状态
- 中断:持续,对用户应用程序是透明的
- 异常:杀死或者重新执行意想不到的应用程序指令
系统调用:等待和持续
中断和异常的处理机制




系统调用详细分析:


程序访问主要是通过高层次的API接口而不是直接进行系统调用



跨越操作系统边界的开销

操作系统课堂笔记——02,操作系统基础知识
原文:https://www.cnblogs.com/xgp123/p/11606883.html