next up previous
Next: Timer interrupts Up: Traps and faults Previous: Traps and faults

Device interrupts

External device interrupts are implemented with SIGIO. The drivers arrange that whenever input arrives, a SIGIO is generated. The SIGIO handler figures out (currently using select) which file descriptors have waiting input, and from that determines what IRQ is associated with each descriptor. At that point, it calls into the standard IRQ code in order to handle the interrupt.

Jeff Dike 2001-05-04