mirror of
https://github.com/tianocore/edk2
synced 2026-08-27 00:23:19 -04:00
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> |
||
|---|---|---|
| .. | ||
| X64 | ||
| DxeLoad.c | ||
| Hob.c | ||
| PeilessStartup.c | ||
| PeilessStartupInternal.h | ||
| PeilessStartupLib.inf | ||