// irb.h
IDE_HW_INTERRUPT IdeHwInterrupt;
BOOLEAN IdeHwInterrupt(
[in] PVOID ChannelExtension
)
{...}
View the official Windows Driver Kit DDI reference
No description available.
The IdeHwInterrupt miniport driver routine handles interrupts from the host bus adapter (HBA) to which the controller for the miniport driver is connected.
Note The ATA port driver and ATA miniport driver models may be altered or unavailable in the future. Instead, we recommend using the Storport driver and Storport miniport driver models.
ChannelExtension
[in]A pointer to the channel extension.
AtaHwInterrrupt returns TRUE if the interrupt is generated by one of the controller's channels. If a channel did not generate the interrupt, the routine should return FALSE as quickly as possible.
The IdeHwInterrupt routine completes interrupt-driven I/O operations.
If the indicated channel did not generate the interrupt, the miniport driver should make a second (recursive) call to the IdeHwInterrupt routine to handle interrupts that are intended for the controller's other channel.
If the miniport driver requires a large amount of time to process the interrupt, it must follow these steps:
The following ATA port routines must not be called from the IdeHwInterrupt routine:
However, the miniport driver can request a worker routine and make calls in the worker routine.
The worker routine must clear the interrupt on the HBA before it returns TRUE.
AtaPortCompleteAllActiveRequests