OS Design and Implementation: (Week 4) - Trap
Lecture
xv6 Book; Chapter 4 - Traps and system calls: https://pdos.csail.mit.edu/6.1810/2025/xv6/book-riscv-rev5.pdf
The lecture in the 4th week was about Traps.A trap is an event that causes the CPU to switch from its current task to specific code i...
tawaliou.com3 min read