NDIS I/O Port Interface (Compact 2013)
3/26/2014
The NDIS Library provides a set of I/O functions that a miniport network adapter (NIC) driver calls to access I/O ports. These calls provide a standard portable interface that supports the various operating environments for NDIS drivers. Functions are provided for mapping ports, for claiming I/O resources, and for reading from and writing to the mapped and unmapped I/O ports.
In This Section
- NdisMDeregisterIoPortRange
Releases a mapping that was set up with NdisMRegisterIoPortRange during driver initialization.
- NdisMRegisterIoPortRange
Sets up driver access to device I/O ports with the NdisRawReadPortXxx and NdisRawWritePortXxx functions and claims the range of I/O port addresses in the registry for that driver's network adapter.
- NdisReadPortBufferUchar
Reads a specified number of UCHARs from a network adapter into a buffer.
- NdisReadPortBufferUlong
Reads a specified number of ULONGs from a network adapter into a buffer.
- NdisReadPortBufferUshort
Reads a specified number of USHORTs from a network adapter into a buffer.
- NdisReadPortUchar
Reads a UCHAR from a network adapter's I/O port.
- NdisReadPortUlong
Reads a ULONG from a network adapter's I/O port.
- NdisReadPortUshort
Reads a USHORT from a network adapter's I/O port.
- NdisWritePortBufferUchar
Writes UCHARs from a buffer to a network adapter.
- NdisWritePortBufferUlong
Writes ULONGs from a buffer to a network adapter.
- NdisWritePortBufferUshort
Writes USHORTs from a buffer to a network adapter.
- NdisWritePortUchar
Writes a UCHAR to an I/O port.
- NdisWritePortUlong
Writes a ULONG to an I/O port.
- NdisWritePortUshort
Writes a USHORT to an I/O port.