XenevaOS
Loading...
Searching...
No Matches
SerialPortLib.h
Go to the documentation of this file.
1
16#ifndef __SERIAL_PORT_LIB__
17#define __SERIAL_PORT_LIB__
18
19#include <Uefi/UefiBaseType.h>
20#include <Protocol/SerialIo.h>
21
36 VOID
37 );
38
59 IN UINT8 *Buffer,
60 IN UINTN NumberOfBytes
61 );
62
63
83 OUT UINT8 *Buffer,
84 IN UINTN NumberOfBytes
85 );
86
101 VOID
102 );
103
115EFIAPI
117 IN UINT32 Control
118 );
119
131EFIAPI
133 OUT UINT32 *Control
134 );
135
170EFIAPI
172 IN OUT UINT64 *BaudRate,
173 IN OUT UINT32 *ReceiveFifoDepth,
174 IN OUT UINT32 *Timeout,
176 IN OUT UINT8 *DataBits,
177 IN OUT EFI_STOP_BITS_TYPE *StopBits
178 );
179
180#endif
UINT64 UINTN
Definition ProcessorBind.h:118
#define EFIAPI
Definition ProcessorBind.h:172
unsigned int UINT32
Definition ProcessorBind.h:102
UINT8 Parity
Definition Acpi50.h:134
#define IN
Definition Base.h:347
UINTN RETURN_STATUS
Definition Base.h:965
#define OUT
Definition Base.h:352
EFI_STOP_BITS_TYPE
Definition SerialIo.h:55
EFI_PARITY_TYPE
Definition SerialIo.h:43
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 VOID
Definition acefi.h:190
unsigned char BOOLEAN
Definition actypes.h:235
unsigned char UINT8
Definition actypes.h:236
COMPILER_DEPENDENT_UINT64 UINT64
Definition actypes.h:239