diff options
| author | Luigi Leonardi <leonardi@redhat.com> | 2026-06-22 11:04:34 +0300 |
|---|---|---|
| committer | mergify[bot] <37929162+mergify[bot]@users.noreply.github.com> | 2026-07-22 12:00:42 +0300 |
| commit | 35345c76a978f724f022a756aa47c847e61ffacc (patch) | |
| tree | b3767f99c7fb2ee2ce6e97646b8bb77884fcb4bf /MdeModulePkg/Library/PiDxeS3BootScriptLib/BootScriptSave.c | |
| parent | e59458b6582afd365c6b170ff442d87327fb6cfa (diff) | |
| download | edk2-35345c76a978f724f022a756aa47c847e61ffacc.tar.xz | |
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>
Diffstat (limited to 'MdeModulePkg/Library/PiDxeS3BootScriptLib/BootScriptSave.c')
0 files changed, 0 insertions, 0 deletions
