AtaPortStallExecution function (irb.h)
The AtaPortStallExecution stalls in the miniport driver.
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 |