62 DEBUG ((DEBUG_ERROR,
"Debug Serial Port: Initialization failed!\n"));
65 if (Function !=
NULL) {
66 Function (Context,
NULL);
92 IN DEBUG_PORT_HANDLE Handle,
98 if ((NumberOfBytes != 1) || (Buffer ==
NULL) || (Timeout != 0)) {
125 IN DEBUG_PORT_HANDLE Handle,
149 IN DEBUG_PORT_HANDLE Handle
BOOLEAN EFIAPI SerialPortPoll(VOID)
UINTN EFIAPI SerialPortRead(OUT UINT8 *Buffer, IN UINTN NumberOfBytes)
RETURN_STATUS EFIAPI SerialPortInitialize(VOID)
UINTN EFIAPI SerialPortWrite(IN UINT8 *Buffer, IN UINTN NumberOfBytes)
VOID(EFIAPI * DEBUG_PORT_CONTINUE)(IN VOID *Context, IN DEBUG_PORT_HANDLE DebugPortHandle)
DEBUG_PORT_HANDLE EFIAPI DebugPortInitialize(IN VOID *Context, IN DEBUG_PORT_CONTINUE Function)
UINTN EFIAPI DebugPortReadBuffer(IN DEBUG_PORT_HANDLE Handle, IN UINT8 *Buffer, IN UINTN NumberOfBytes, IN UINTN Timeout)
BOOLEAN EFIAPI DebugPortPollBuffer(IN DEBUG_PORT_HANDLE Handle)
UINTN EFIAPI DebugPortWriteBuffer(IN DEBUG_PORT_HANDLE Handle, IN UINT8 *Buffer, IN UINTN NumberOfBytes)
#define RETURN_ERROR(StatusCode)
#define DEBUG(Expression)