Chapter 16. Hardware Resources and Interrupts

Devices that attach to a PCI bus, to a PCI Express bus, or to other backplane buses generate interrupts to signal the processor—and thus, the operating system—that they require service. When a user plugs such a device into the system, the Windows PnP manager, with input from the drivers for the device, assigns a set of hardware resources to the device. The resources include the memory-mapped I/O space, interrupt vectors, DMA channels, and so forth through which the device communicates with the system. Depending on the type of device and the types of resources, the driver might require code to manage the resources. If your device generates interrupts, its function driver must include code to handle ...

Get Developing Drivers with the Windows® Driver Foundation now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.