![Intel Extensible Firmware Interface Specification Download Page 241](http://html1.mh-extra.com/html/intel/extensible-firmware-interface/extensible-firmware-interface_specification_2073117241.webp)
Serial I/O Protocol
Version 1.02
12/12/00
223
12.1.5 SERIAL_IO.Write()
Summary
Writes data to a serial device.
Prototype
EFI_STATUS
(EFIAPI *EFI_SERIAL_WRITE) (
IN SERIAL_IO_INTERFACE
*This,
IN OUT UINTN
*BufferSize,
IN VOID
*Buffer
);
Parameters
This
A pointer to the
SERIAL_IO_INTERFACE
instance. Type
SERIAL_IO_INTERFACE
is defined in Section 12.1.
BufferSize
On input, the size of the
Buffer
. On output, the amount of
data actually written.
Buffer
The buffer of data to write.
Description
The
Write()
function writes the specified number of bytes to a serial device. If a time out error
occurs while data is being sent to the serial port, transmission of this buffer will terminate, and
EFI_TIMEOUT
will be returned. In all cases the number of bytes actually written to the serial
device is returned in
BufferSize
.
Status Codes Returned
EFI_SUCCESS
The data was written.
EFI_DEVICE_ERROR
The device reported an error.
EFI_TIMEOUT
The data write was stopped due to a timeout.
Summary of Contents for Extensible Firmware Interface
Page 1: ...Extensible Firmware Interface Specification Version 1 02 December 12 2000...
Page 4: ...Extensible Firmware Interface Specification iv 12 12 00 Version 1 02...
Page 42: ...Extensible Firmware Interface Specification 24 12 01 00 Version 1 02...
Page 190: ...Extensible Firmware Interface Specification 172 12 12 00 Version 1 02...
Page 200: ...Extensible Firmware Interface Specification 182 12 12 00 Version 1 02...
Page 226: ...Extensible Firmware Interface Specification 208 12 12 00 Version 1 02...
Page 230: ...Extensible Firmware Interface Specification 212 12 12 00 Version 1 02...
Page 252: ...Extensible Firmware Interface Specification 234 12 12 00 Version 1 02...
Page 294: ...Extensible Firmware Interface Specification 276 12 12 00 Version 1 02...
Page 348: ...Extensible Firmware Interface Specification 330 12 01 00 Version 1 01...
Page 350: ...Extensible Firmware Interface Specification 332 12 12 00 Version 1 02...
Page 354: ...Extensible Firmware Interface Specification 336 12 12 00 Version 1 02...
Page 362: ...Extensible Firmware Interface Specification 344 12 12 00 Version 1 02...
Page 486: ...Extensible Firmware Interface Specification 468 12 12 00 Version 1 02...
Page 494: ...Extensible Firmware Interface Specification 476 12 12 00 Version 1 02...