NdisReadRegisterUlong

VOID
    NdisReadRegisterUlong(

        IN PULONG Register,
        OUT PULONG Data
        );

NdisReadRegisterUlong is called by the NIC driver to read a ULONG from a memory-mapped device register.

Parameters

Register
Points to the memory-mapped register. This virtual address must fall within a range returned by an initialization-time call to NdisMMapIoSpace.
Data
Points to the caller-supplied variable in which this function returns the ULONG read from Register.

Comments

If a driver calls this function, its NIC’s device registers must be mapped to noncached memory during driver initialization.

Callers of NdisReadRegisterUlong can be running at any IRQL.

See Also

MiniportInitialize, NdisMMapIoSpace, NdisReadRegisterUchar, NdisReadRegisterUshort, NdisWriteRegisterUlong