Chapter 4: Traps and System Calls
注释:该内容基于原版课程的textbook和源代码,在大模型辅助翻译的基础上进行的整理。
- 4.0: 陷阱和系统调用简介
- 4.1: RISC-V陷阱机制(RISC-V trap machinery)
- 4.2: 从用户空间陷入(Traps from user space)
- 4.3: 系统调用的调用过程代码分析(Code: Calling system calls)
- 4.4: 系统调用参数分析(Code: System call arguments, part 1)
- 4.4: 系统调用参数分析(Code: System call arguments, part 2)
- 4.5: 从内核空间陷入(Traps from kernel space)
- Page-fault exceptions
- Real world
- Registers