TianoCore EDK2 master
Loading...
Searching...
No Matches
ArmDbg2Generator.c
Go to the documentation of this file.
1
13#include <Protocol/SerialIo.h>
14#include "Dbg2Generator.h"
15
47RETURN_STATUS
48EFIAPI
51 IN OUT UINT64 *BaudRate,
52 IN OUT UINT32 *ReceiveFifoDepth,
53 IN OUT EFI_PARITY_TYPE *Parity,
54 IN OUT UINT8 *DataBits,
55 IN OUT EFI_STOP_BITS_TYPE *StopBits
56 )
57{
59 (UINTN)SerialPortInfo->BaseAddress,
60 SerialPortInfo->Clock,
61 BaudRate,
62 ReceiveFifoDepth,
63 Parity,
64 DataBits,
65 StopBits
66 );
67}
UINT64 UINTN
RETURN_STATUS EFIAPI Dbg2InitializePort(IN CONST CM_ARCH_COMMON_SERIAL_PORT_INFO *SerialPortInfo, IN OUT UINT64 *BaudRate, IN OUT UINT32 *ReceiveFifoDepth, IN OUT EFI_PARITY_TYPE *Parity, IN OUT UINT8 *DataBits, IN OUT EFI_STOP_BITS_TYPE *StopBits)
#define CONST
Definition: Base.h:259
#define IN
Definition: Base.h:279
#define OUT
Definition: Base.h:284
RETURN_STATUS EFIAPI PL011UartInitializePort(IN UINTN UartBase, IN UINT32 UartClkInHz, IN OUT UINT64 *BaudRate, IN OUT UINT32 *ReceiveFifoDepth, IN OUT EFI_PARITY_TYPE *Parity, IN OUT UINT8 *DataBits, IN OUT EFI_STOP_BITS_TYPE *StopBits)
Definition: PL011UartLib.c:66
EFI_STOP_BITS_TYPE
Definition: SerialIo.h:53
EFI_PARITY_TYPE
Definition: SerialIo.h:41