Interrupts
Generated by devices to signal they need attention
Example
- Input is ready
- packet arrived from internet
Interrupt Handler
Function in the kernel that services a device request
Interrupt process:
- Device signals the processor through a physical pin or bus message
- Processor interrupts the execution of current running program
- Begins executing interrupt handler in Kernel mode
Most interrupts can be disabled
Non-maskable interrupts are for urgent system requests
- Overheating
Configuration
- The OS initializes the IDT with entry points for up to 256 interrupts
- OS initializes IDT base address and length
- OS executes
lidt
instruction to load the IDT Register