TianoCore EDK2
master
Loading...
Searching...
No Matches
FdtSerialPortAddressLib.h
Go to the documentation of this file.
1
9
#ifndef FDT_SERIAL_PORT_ADDRESS_LIB_H_
10
#define FDT_SERIAL_PORT_ADDRESS_LIB_H_
11
12
#include <Base.h>
13
14
typedef
struct
{
15
UINTN
NumberOfPorts;
16
UINT64 BaseAddress[2];
17
}
FDT_SERIAL_PORTS
;
18
44
RETURN_STATUS
45
EFIAPI
46
FdtSerialGetPorts
(
47
IN
CONST
VOID *DeviceTree,
48
IN
CONST
CHAR8 *Compatible,
49
OUT
FDT_SERIAL_PORTS
*Ports
50
);
51
76
RETURN_STATUS
77
EFIAPI
78
FdtSerialGetConsolePort
(
79
IN
CONST
VOID *DeviceTree,
80
OUT
UINT64 *BaseAddress
81
);
82
83
#endif
UINTN
UINT64 UINTN
Definition:
ProcessorBind.h:112
FdtSerialGetConsolePort
RETURN_STATUS EFIAPI FdtSerialGetConsolePort(IN CONST VOID *DeviceTree, OUT UINT64 *BaseAddress)
Definition:
FdtSerialPortAddressLib.c:168
FdtSerialGetPorts
RETURN_STATUS EFIAPI FdtSerialGetPorts(IN CONST VOID *DeviceTree, IN CONST CHAR8 *Compatible, OUT FDT_SERIAL_PORTS *Ports)
Definition:
FdtSerialPortAddressLib.c:94
CONST
#define CONST
Definition:
Base.h:259
IN
#define IN
Definition:
Base.h:279
OUT
#define OUT
Definition:
Base.h:284
FDT_SERIAL_PORTS
Definition:
FdtSerialPortAddressLib.h:14
OvmfPkg
Include
Library
FdtSerialPortAddressLib.h
Generated on Fri Nov 15 2024 18:01:20 for TianoCore EDK2 by
1.9.6