NdisZeroMappedMemory

VOID
NdisZeroMappedMemory(

IN PVOID Destination,
IN ULONG Length
);

NdisZeroMappedMemory fills a block of memory that was mapped with a preceding call to NdisMMapIoSpace with zeros.

Parameters

Destination

Specifies the base virtual address of a block of mapped memory.

Length

Specifies the number of bytes to be filled with zeros.

Comments

A NIC driver can call NdisZeroMappedMemory to zero-initialize mapped device memory. The given Destination and Length must be a proper subrange of the range specified when the driver called NdisMMapIoSpace.

NdisZeroMappedMemory is optimized, and a NIC driver can call this function any time that it needs to clear a mapped memory range.

Callers of NdisZeroMappedMemory can run at any IRQL.

See Also

MiniportInitialize, NdisMMapIoSpace, NdisZeroMemory