VOID
NdisImmediateReadSharedMemory(
IN NDIS_HANDLE WrapperConfigurationContext,
IN ULONG SharedMemoryAddress,
OUT PUCHAR Buffer,
IN ULONG Length
);
NdisImmediateReadSharedMemory reads a specified number of bytes from shared device RAM.
NdisImmediateReadShared Memory determines how the host accesses shared device memory, maps the bus-relative base address, and then copies Length bytes of data from the device memory area into the given buffer.
A miniport driver can call NdisImmediateReadSharedMemory during initialization to read data from a range of device memory when that driver has not yet called NdisMMapIoSpace to obtain mapped virtual addresses for the bus-relative device memory range. After its call to NdisMMapIoSpace, the driver uses the returned mapped virtual addresses in PIO operations.
Callers of NdisImmediateReadSharedMemory run at IRQL PASSIVE_LEVEL.
MiniportInitialize, NdisImmediateWriteSharedMemory, NdisMMapIoSpace