Software interrupt, Synchronous interrupt
Handle programming error or anomalous hardware conditions
Generated by the CPU while executing instruction
- Programming errors
- Segmentation fault
- division by 0
- Anomalous conditions that must be handled by kernel
- page fault
- floating-point error
- Debugger
- Save the contents of most registers in the Kernel Mode stack
- Handle the exception
- Exit from the handler from
ret_from_exception()
Exception Notion