Serial_Io.read() - Intel Extensible Firmware Interface Specification

Intel extensible firmware interface specification
Table of Contents

Advertisement

Extensible Firmware Interface Specification

12.1.6 SERIAL_IO.Read()

Summary
Reads data from a serial device.
Prototype
EFI_STATUS
(EFIAPI *EFI_SERIAL_READ) (
IN SERIAL_IO_INTERFACE
IN OUT UINTN
OUT VOID
);
Parameters
This
BufferSize
Buffer
Description
The
function reads a specified number of bytes from a serial device. If a time out error or
Read()
an overrun error is detected while data is being read from the serial device, then no more characters
will be read, and an error will be returned. In all cases the number of bytes actually read is returned
in BufferSize.
Status Codes Returned
EFI_SUCCESS
EFI_DEVICE_ERROR
EFI_TIMEOUT
224
*This,
*BufferSize,
*Buffer
A pointer to the
SERIAL_IO_INTERFACE
SERIAL_IO_INTERFACE
On input, the size of the Buffer. On output, the amount of
data returned in Buffer.
The buffer to return the data into.
The data was read.
The serial device reported an error.
The operation was stopped due to a timeout or overrun.
12/12/00
instance. Type
is defined in Section 12.1.
Version 1.02

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the Extensible Firmware Interface and is the answer not in the manual?

Table of Contents