Cstardust / BlogComments

BlogComments
1 stars 0 forks source link

操作系统-xv6-Interrupt | 不落辰 #52

Open Cstardust opened 1 year ago

Cstardust commented 1 year ago

https://cstardust.github.io/2022/11/12/%E6%93%8D%E4%BD%9C%E7%B3%BB%E7%BB%9F-xv6-Interrupt/

Interrupt中断概述 驱动(管理设备的代码)架构:Handler + Bottom interrupt Handler : 即 Bottom 例子 : kernel读取用户字符传给shell,并显示在终端上 PLIC路由中断;UART传输字符 Interrupt的并发性 发出Interrupt的设备与cpu并行 中断会停止当前进程(user -> uservec / kerne