TianoCore EDK2 master
Loading...
Searching...
No Matches
DxeEmuStdErrSerialPortLib.c
Go to the documentation of this file.
1
11#include <PiDxe.h>
13#include <Library/EmuThunkLib.h>
14
26RETURN_STATUS
27EFIAPI
29 VOID
30 )
31{
32 return RETURN_SUCCESS;
33}
34
53EFIAPI
55 IN UINT8 *Buffer,
56 IN UINTN NumberOfBytes
57 )
58{
59 if (gEmuThunk == NULL) {
60 return NumberOfBytes;
61 }
62
63 return gEmuThunk->WriteStdErr (Buffer, NumberOfBytes);
64}
65
83EFIAPI
85 OUT UINT8 *Buffer,
86 IN UINTN NumberOfBytes
87 )
88{
89 return 0;
90}
91
103BOOLEAN
104EFIAPI
106 VOID
107 )
108{
109 return FALSE;
110}
UINT64 UINTN
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)
#define NULL
Definition: Base.h:319
#define RETURN_SUCCESS
Definition: Base.h:1066
#define FALSE
Definition: Base.h:307
#define IN
Definition: Base.h:279
#define OUT
Definition: Base.h:284