ScsiPortReadRegisterBufferUchar

VOID
    ScsiPortReadRegisterBufferUchar(

        IN PUCHAR  Register,
        IN PUCHAR  Buffer,
        IN ULONG  Count
        );

ScsiPortReadRegisterBufferUchar transfers a specified number of unsigned bytes from the HBA to a buffer.

Parameters

Register
Points to the register. The given Register must be in a mapped memory-space range returned by ScsiPortGetDeviceBase.
Buffer
Points to the buffer.
Count
Specifies the number of bytes to be read from the HBA.

Comments

ScsiPortReadRegisterBufferUchar ensures that the data is transferred correctly.

See Also

ScsiPortGetDeviceBase