13#include <Library/EmuThunkLib.h>
32 return gEmuThunk->ConfigStdIn ();
59 return gEmuThunk->WriteStdOut (Buffer, NumberOfBytes);
85 return gEmuThunk->ReadStdIn (Buffer, NumberOfBytes);
105 return gEmuThunk->PollStdIn ();
145 *Control = EFI_SERIAL_INPUT_BUFFER_EMPTY;
187 IN OUT UINT64 *BaudRate,
188 IN OUT UINT32 *ReceiveFifoDepth,
189 IN OUT UINT32 *Timeout,
191 IN OUT UINT8 *DataBits,
BOOLEAN EFIAPI SerialPortPoll(VOID)
RETURN_STATUS EFIAPI SerialPortSetAttributes(IN OUT UINT64 *BaudRate, IN OUT UINT32 *ReceiveFifoDepth, IN OUT UINT32 *Timeout, IN OUT EFI_PARITY_TYPE *Parity, IN OUT UINT8 *DataBits, IN OUT EFI_STOP_BITS_TYPE *StopBits)
UINTN EFIAPI SerialPortRead(OUT UINT8 *Buffer, IN UINTN NumberOfBytes)
RETURN_STATUS EFIAPI SerialPortInitialize(VOID)
RETURN_STATUS EFIAPI SerialPortSetControl(IN UINT32 Control)
RETURN_STATUS EFIAPI SerialPortGetControl(OUT UINT32 *Control)
UINTN EFIAPI SerialPortWrite(IN UINT8 *Buffer, IN UINTN NumberOfBytes)
#define RETURN_UNSUPPORTED