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
14typedef struct {
15 UINTN NumberOfPorts;
16 UINT64 BaseAddress[2];
18
44RETURN_STATUS
45EFIAPI
47 IN CONST VOID *DeviceTree,
48 IN CONST CHAR8 *Compatible,
50 );
51
76RETURN_STATUS
77EFIAPI
79 IN CONST VOID *DeviceTree,
80 OUT UINT64 *BaseAddress
81 );
82
83#endif
UINT64 UINTN
RETURN_STATUS EFIAPI FdtSerialGetConsolePort(IN CONST VOID *DeviceTree, OUT UINT64 *BaseAddress)
RETURN_STATUS EFIAPI FdtSerialGetPorts(IN CONST VOID *DeviceTree, IN CONST CHAR8 *Compatible, OUT FDT_SERIAL_PORTS *Ports)
#define CONST
Definition: Base.h:259
#define IN
Definition: Base.h:279
#define OUT
Definition: Base.h:284