Windows Driver Kit: Kernel-Mode Driver Architecture
IRQ_DEVICE_POLICY
The IRQ_DEVICE_POLICY enumeration type indicates the policy the system can use to assign interrupts to a device on different processors.
typedef enum {
IrqPolicyMachineDefault = 0,
IrqPolicyAllCloseProcessors,
IrqPolicyOneCloseProcessor,
IrqPolicyAllProcessorsInMachine,
IrqPolicySpecifiedProcessors,
IrqPolicySpreadMessagesAcrossAllProcessors
} IRQ_DEVICE_POLICY, *PIRQ_DEVICE_POLICY;
Values
- IrqPolicyMachineDefault
- Specifies the device does not require any particular assignment of interrupts to processors.
- IrqPolicyAllCloseProcessors
- Specifies that the system should assign interrupts for the device on processors that are close to the device. On non-NUMA computers, the effect of this value is identical to that of IrqPolicyAllProcessorsInMachine.
- IrqPolicyOneCloseProcessor
- Specifies that the system should assign a single interrupt for the device on one processor that is close to the device. On non-NUMA computers, the system can assign the interrupt on any processor.
- IrqPolicyAllProcessorsInMachine
- Specifies that the system should assign interrupts for the device on all processors.
- IrqPolicySpecifiedProcessors
- Specifies that the system should assign interrupts for the device on a specific set of processors.
- IrqPolicySpreadMessagesAcrossAllProcessors
- Specifies that the system should assign different message-based interrupts to different processors, if possible.
Requirements
Headers: Declared in Wdm.h. Include Wdm.h, Ntddk.h, or Ntifs.h.
See Also
IO_RESOURCE_DESCRIPTOR