AtaPortStallExecution function (irb.h)

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.
 

Syntax

void AtaPortStallExecution(
  [in] ULONG Delay
);

Parameters

[in] Delay

Specifies the delay interval, in microseconds.

Return value

None

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.

Requirements

Requirement Value
Target Platform Desktop
Header irb.h (include Ata.h, Irb.h)
Library Ataport.lib; Pciidex.lib

See also

AtaPortRequestTimer