TianoCore EDK2 master
Loading...
Searching...
No Matches
BaseSerialPortLibNull.c
Go to the documentation of this file.
1
9#include <Base.h>
11
23RETURN_STATUS
24EFIAPI
26 VOID
27 )
28{
29 return RETURN_SUCCESS;
30}
31
50EFIAPI
52 IN UINT8 *Buffer,
53 IN UINTN NumberOfBytes
54 )
55{
56 return 0;
57}
58
76EFIAPI
78 OUT UINT8 *Buffer,
79 IN UINTN NumberOfBytes
80 )
81{
82 return 0;
83}
84
96BOOLEAN
97EFIAPI
99 VOID
100 )
101{
102 return FALSE;
103}
104
115RETURN_STATUS
116EFIAPI
118 IN UINT32 Control
119 )
120{
121 return RETURN_UNSUPPORTED;
122}
123
134RETURN_STATUS
135EFIAPI
137 OUT UINT32 *Control
138 )
139{
140 return RETURN_UNSUPPORTED;
141}
142
176RETURN_STATUS
177EFIAPI
179 IN OUT UINT64 *BaudRate,
180 IN OUT UINT32 *ReceiveFifoDepth,
181 IN OUT UINT32 *Timeout,
182 IN OUT EFI_PARITY_TYPE *Parity,
183 IN OUT UINT8 *DataBits,
184 IN OUT EFI_STOP_BITS_TYPE *StopBits
185 )
186{
187 return RETURN_UNSUPPORTED;
188}
UINT64 UINTN
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
Definition: Base.h:1081
#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
EFI_STOP_BITS_TYPE
Definition: SerialIo.h:53
EFI_PARITY_TYPE
Definition: SerialIo.h:41