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.
A driver does not interact with interrupt objects other than to create and delete them. A pointer to the interrupt object is typically stored in the device extension or controller extension. Layout of an Interrupt ObjectFigure 4.6 illustrates the structure of an interrupt object. Like adapter objects, they are completely opaque and have no externally visible fields. Figure 4.6. The interrupt object.
Manipulating Interrupt ObjectsSeveral system components export functions that work with interrupt objects. Table 4.10 lists the most common ones.
|