Kernel mode

Privileged mode used by the OS

Access privileged processor features

Allows kernel to protect itself and isolate Processes from each other

  • Processes cannot read or write kernel memory
  • Processes cannot directly call kernel functions

Kernel mode can only be accessed through well defined entry points
Interrupts, exceptions and System Calls use the same mechanism

Pasted image 20231208162343.png
See also Trapframe