90 likes | 269 Views
Interrupts and Interrupts Handling. Interrupt Routing. Initializing the Interrupt Handling Data Structures. The kernel's interrupt handling data structures are set up by the device drivers as they request control of the system's interrupts
E N D
Initializing the Interrupt Handling Data Structures • The kernel's interrupt handling data structures are set up by the device drivers as they request control of the system's interrupts • The individual device drivers call Linux system services routines to register their interrupt handling routine addresses
Interrupt Number • Some devices are fixed • e. g. floppy : IRQ 6 • PCI devices : no problem • PCI BIOS, PCI initialization • ISA : Linux allows device drivers to probe for their interrupts
Linux Interrupt Handling • Linux read the interrupt status register of PIC to determine the source • Translate the source into offset int irq_action vector • Linux call into the interrupt handling routines for all of the irqaction data structures