edk2/OvmfPkg/Library/PeilessStartupLib
Luigi Leonardi 35345c76a9 OvmfPkg/IntelTdx: Add memory debug logging support for TDX guests
OVMF already supports MemDebugLogLib for capturing firmware debug
output in a runtime memory buffer. Align the TDX peiless boot path
with OVMF by integrating the same library, so that TDX guests can
use memory-based debug logging.

In PeilessStartupLib, allocate a runtime buffer for the debug log
during PeilessStartup() and copy any early SEC-phase logs from
the pre-allocated FDF region into it.

Register the early debug log memory region in the TDX metadata as
TEMP_MEM so the TDX module accepts it during guest initialization.

Move PlatformDxe/Platform.inf from NCCFV to DXEFV because it
exposes the memory debug log HOB to the guest.

Signed-off-by: Luigi Leonardi <leonardi@redhat.com>
2026-07-22 09:00:42 +00:00
..
X64 OvmfPkg: Replace include guards with #pragma once 2026-02-23 21:01:28 +00:00
DxeLoad.c EmbeddedPkg, OvmfPkg: Produce FV3 HOBs for Extracted FVs 2026-06-13 09:06:33 +00:00
Hob.c OvmfPkg: Use newly defined Unaccepted Memory Type 2024-05-08 11:34:49 +00:00
PeilessStartup.c OvmfPkg/IntelTdx: Add memory debug logging support for TDX guests 2026-07-22 09:00:42 +00:00
PeilessStartupInternal.h OvmfPkg: Replace include guards with #pragma once 2026-02-23 21:01:28 +00:00
PeilessStartupLib.inf OvmfPkg/IntelTdx: Add memory debug logging support for TDX guests 2026-07-22 09:00:42 +00:00