VOID
NdisMUpdateSharedMemory(
IN NDIS_HANDLE MiniportAdapterHandle,
IN ULONG Length,
IN PVOID VirtualAddress,
IN NDIS_PHYSICAL_ADDRESS PhysicalAddress
);
NdisMUpdateSharedMemory ensures that data, just transferred from a busmaster NIC, to be read from driver-allocated shared memory is current.
NdisMUpdateSharedMemory guarantees that any data written by the NIC is present in host physical memory at the virtual address returned by NdisMAllocateSharedMemory or NdisMAllocateSharedMemoryAsync on certain platforms. On any other platform, a call to NdisMUpdateSharedMemory has no overhead.
Callers of NdisMUpdateSharedMemory run at IRQL <= DISPATCH_LEVEL.
MiniportInitialize, NdisFlushBuffer, NdisMAllocateMapRegisters, NdisMAllocateSharedMemory, NdisMAllocateSharedMemoryAsync, NdisMFreeSharedMemory, NdisMStartBufferPhysicalMapping