READ_PORT_UCHAR

UCHAR
    READ_PORT_UCHAR(

        IN PUCHAR  Port
        );

READ_PORT_UCHAR reads a byte from the specified port address.

Parameters

Port
Points to the port address, which must be a mapped memory range in I/O space.

Return Value

READ_PORT_UCHAR returns the byte read from the specified port address.

Comments

Callers of READ_PORT_UCHAR can be running at any IRQL, assuming the Port is resident, mapped device memory.