Safari Books Online is a digital library providing on-demand subscription access to thousands of learning resources.
The last kernel object described in this chapter is the interrupt object. Interrupt objects simply give the kernel's interrupt dispatcher a way to find the right service routine when an interrupt occurs. The life cycle of an interrupt object is described below.
The DriverEntry or AddDevice routine creates an interrupt object for each interrupt vector supported by the device or the controller.
When an interrupt occurs, the kernel's interrupt dispatcher uses the Interrupt object to locate the Interrupt Service routine.
The Unload or RemoveDevice routine deletes the interrupt object after disabling interrupts from the device.