edk2/ArmVirtPkg/Library/Fdt16550SerialPortHookLib
Sami Mujawar 2adf8dc56d ArmVirtPkg: Add early FDT 16550 serial port probe library
Fdt16550SerialPortHookLib does not provide a constructor and
expects SerialPortLib to call PlatformHookSerialPortInitialize().

Add an early FDT 16550 serial port probe library that invokes the
platform serial hook from its constructor. This allows the FDT to be
parsed early, the 16550 serial port base address to be extracted, and
the serial port PCD to be populated. It is needed during early boot so
the serial port memory map can be set up using the populated serial
port PCD.

The probe library wraps the hook call in its constructor instead of
reusing PlatformHookSerialPortInitialize() directly. This avoids
duplicate global definitions in modules that already link against the
PlatformHookLib instance.

Signed-off-by: Sami Mujawar <sami.mujawar@arm.com>
2026-07-21 10:25:17 +00:00
..
EarlyFdt16550SerialPortHookLib.c ArmVirtPkg/Fdt16550SerialPortHookLib: rebase to FdtSerialPortAddressLib 2023-10-26 18:55:43 +00:00
EarlyFdt16550SerialPortHookLib.inf ArmVirtPkg: Move PCD of FDT base address and FDT padding to OvmfPkg 2024-02-06 23:51:47 +08:00
EarlyFdt16550SerialPortProbeLib.c ArmVirtPkg: Add early FDT 16550 serial port probe library 2026-07-21 10:25:17 +00:00
EarlyFdt16550SerialPortProbeLib.inf ArmVirtPkg: Add early FDT 16550 serial port probe library 2026-07-21 10:25:17 +00:00
Fdt16550SerialPortHookLib.c ArmVirtPkg: Apply uncrustify changes 2021-12-07 17:24:28 +00:00
Fdt16550SerialPortHookLib.inf ArmVirtPkg: 16550 UART Platform hook library 2020-10-16 17:21:04 +00:00
Fdt16550SerialPortHookLib.uni ArmVirtPkg: 16550 UART Platform hook library 2020-10-16 17:21:04 +00:00