Bewerken

Delen via


INTERRUPT_SYNCHRONIZATION_MODE enumeration (storport.h)

The INTERRUPT_SYNCHRONIZATION_MODE enumerator specifies the interrupt synchronization mode.

Syntax

typedef enum _INTERRUPT_SYNCHRONIZATION_MODE {
  InterruptSupportNone,
  InterruptSynchronizeAll,
  InterruptSynchronizePerMessage
} INTERRUPT_SYNCHRONIZATION_MODE;

Constants

 
InterruptSupportNone
MSI interrupts are not supported.
InterruptSynchronizeAll
The Storport driver serializes all message signaled interrupts using a single interrupt spin lock. When an interrupt occurs, the Storport driver calls the miniport driver's HwMSInterruptRoutine routine at DIRQL after acquiring the interrupt spin lock.
InterruptSynchronizePerMessage
The miniport driver serializes message signaled interrupts on a per message basis. In the synchronization per message mode, the Storport driver calls the miniport driver's HwMSInterruptRoutine routine at DIRQL holding the interrupt spin lock of the corresponding message. For more on the behavior of this synchronization mode, see the remarks section for HwMSInterruptRoutine.

Remarks

Miniport drivers define the HBA's interrupt synchronization mode by assigning one of the INTERRUPT_SYNCHRONIZATION_MODE enumeration values to the InterruptSynchronizationMode member of the PORT_CONFIGURATION_INFORMATION structure.

Requirements

Requirement Value
Header storport.h (include Storport.h)

See also

HwMSInterruptRoutine

PORT_CONFIGURATION_INFORMATION

StorPortAcquireMSISpinLock

StorPortReleaseMSISpinLock