summaryrefslogtreecommitdiff
path: root/MdeModulePkg/Library/PiDxeS3BootScriptLib
diff options
context:
space:
mode:
authorSami Mujawar <sami.mujawar@arm.com>2026-06-15 18:24:28 +0300
committermergify[bot] <37929162+mergify[bot]@users.noreply.github.com>2026-07-21 13:25:17 +0300
commit2adf8dc56d1036eb9f8c00a11620f68d71bf277b (patch)
tree4371e5a9123c7758c0ae2c658d0efd8d00e57890 /MdeModulePkg/Library/PiDxeS3BootScriptLib
parentda1ccea67ce0fa58dd934abc5535443d7197004b (diff)
downloadedk2-2adf8dc56d1036eb9f8c00a11620f68d71bf277b.tar.xz
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>
Diffstat (limited to 'MdeModulePkg/Library/PiDxeS3BootScriptLib')
0 files changed, 0 insertions, 0 deletions