AtaPortStallExecution - NtDoc

Native API online documentation, based on the System Informer (formerly Process Hacker) phnt headers
// irb.h

VOID AtaPortStallExecution(
  [in] ULONG Delay
);
View the official Windows Driver Kit DDI reference

NtDoc

No description available.

Windows Driver Kit DDI reference (nf-irb-ataportstallexecution)

AtaPortStallExecution function

Description

The AtaPortStallExecution stalls in the miniport driver.

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.

Parameters

Delay [in]

Specifies the delay interval, in microseconds.

Remarks

Miniport drivers should rarely call the AtaPortStallExecution routine. The total stall time in any miniport driver routine must always be less than one millisecond. Because this call ties up a processor, the processor does no useful work while it stalls in the driver.

Typically, a miniport driver should call AtaPortStallExecution only if the driver must wait for some sort of state change on the HBA that is unable to cause an interrupt, or if the driver must delay for a very short interval between accesses to the HBA.

Miniport drivers should use the AtaPortRequestTimer routine for delays longer than 1 millisecond.

See also

AtaPortRequestTimer