beautypg.com

Efi_debugport_protocol, Debug_port – Intel Extensible Firmware Interface User Manual

Page 729

background image

Protocols

— Debugger Support

Version 1.10

12/01/02

16-15

EFI_DEBUGPORT_PROTOCOL

Summary

This protocol provides the communication link between the debug agent and the remote host.

GUID

#define EFI_DEBUGPORT_PROTOCOL_GUID \

{0xEBA4E8D2,0x3858,0x41EC,0xA2,0x81,0x26,0x47,0xBA,0x96,0x60,0xD0}

Protocol Interface Structure

typedef struct {
EFI_DEBUGPORT_RESET

Reset;

EFI_DEBUGPORT_WRITE

Write;

EFI_DEBUGPORT_READ

Read;

EFI_DEBUGPORT_POLL

Poll;

} EFI_DEBUGPORT_PROTOCOL;

Parameters

Reset

Resets the debugport hardware.

Write

Send a buffer of characters to the debugport device.

Read

Receive a buffer of characters from the debugport device.

Poll

Determine if there is any data available to be read from the
debugport device.

Description

The Debugport protocol is used for byte stream communication with a debugport device. The
debugport can be a standard UART Serial port, a USB-based character device, or potentially any
character-based I/O device.

The attributes for all UART-style debugport device interfaces are defined in the DEBUGPORT
variable (see Section 16.3.3).