NdisMCompleteBufferPhysicalMapping
VOID
NdisMCompleteBufferPhysicalMapping(
IN NDIS_HANDLE MiniportAdapterHandle,
IN PNDIS_BUFFER Buffer,
IN ULONG PhysicalMapRegister
);
NdisMCompleteBufferPhysicalMapping flushes any data remaining in a busmaster NIC's internal cache at the end of a transfer that was set up with NdisMStartBufferPhysicalMapping.
Parameters
MiniportAdapterHandle
Specifies the handle input to MiniportInitialize.
Buffer
Points to the buffer descriptor, for a shared memory buffer previously mapped with NdisMStartBufferPhysicalMapping.
PhysicalMapRegister
Specifies the index of the map register used for the mapping. This value is identical to the PhysicalMapRegister index passed with the descriptor at Buffer in the preceding call to NdisMStartBufferPhysicalMapping.
Comments
PhysicalMapRegister is a zero-based value that falls within the index range for the map registers the miniport allocated during initialization with NdisMAllocateMapRegisters.
Callers of NdisMCompleteBufferPhysicalMapping run at IRQL <= DISPATCH_LEVEL.
See Also
MiniportHandleInterrupt, MiniportInitialize, MiniportSend, MiniportSendPackets, MiniportTimer, MiniportWanSend, NdisMAllocateMapRegisters, NdisMAllocateSharedMemory, NdisMAllocateSharedMemoryAsync, NdisMStartBufferPhysicalMapping