Expand Minimize

ScsiPortFlushDma routine

The ScsiPortFlushDma routine flushes any data cached in the system DMA controller at the end of a transfer or terminates a system DMA transfer.

Syntax


VOID ScsiPortFlushDma(
  _In_  PVOID DeviceExtension
);

Parameters

DeviceExtension [in]

Pointer to the miniport driver's per-HBA storage area.

Return value

None

Remarks

Only miniport drivers of subordinate HBAs that use a system DMA controller call this routine.

ScsiPortFlushDma must be called after a subordinate DMA transfer operation is completed but before the SRB is completed or the next call is made to ScsiPortIoMapTransfer for the current buffer.

ScsiPortFlushDma also must be called after ScsiPortIoMapTransfer to cancel a DMA operation, even if no transfer has occurred and the driver's HwScsiDmaStarted routine has not yet been called.

Requirements

Target platform

Desktop

Header

Srb.h (include Miniport.h or Scsi.h)

Library

Scsiport.lib

See also

HwScsiDmaStarted
ScsiPortIoMapTransfer

 

 

Send comments about this topic to Microsoft

Show:
© 2015 Microsoft