Branch: refs/heads/master
  Home:   https://github.com/tianocore/edk2
  Commit: e59458b6582afd365c6b170ff442d87327fb6cfa
      
https://github.com/tianocore/edk2/commit/e59458b6582afd365c6b170ff442d87327fb6cfa
  Author: Luigi Leonardi <[email protected]>
  Date:   2026-07-22 (Wed, 22 Jul 2026)

  Changed paths:
    M OvmfPkg/Library/MemDebugLogLib/MemDebugLogNull.c

  Log Message:
  -----------
  OvmfPkg/MemDebugLogLib: Add MemDebugLogInit/Copy stubs to Null instance

The Null instance of MemDebugLogLib only provides MemDebugLogWrite(),
MemDebugLogPages(), and MemDebugLogEnabled(). Any module that
references MemDebugLogInit() or MemDebugLogCopy() cannot link against
the Null instance, forcing the feature to be gated at the build-system
level rather than at runtime.

Add no-op stubs for MemDebugLogInit() and MemDebugLogCopy().

This will be used by the following commit to add memory debug log
support in TDX.

Signed-off-by: Luigi Leonardi <[email protected]>


  Commit: 35345c76a978f724f022a756aa47c847e61ffacc
      
https://github.com/tianocore/edk2/commit/35345c76a978f724f022a756aa47c847e61ffacc
  Author: Luigi Leonardi <[email protected]>
  Date:   2026-07-22 (Wed, 22 Jul 2026)

  Changed paths:
    M OvmfPkg/IntelTdx/IntelTdxX64.dsc
    M OvmfPkg/IntelTdx/IntelTdxX64.fdf
    M OvmfPkg/Library/PeilessStartupLib/PeilessStartup.c
    M OvmfPkg/Library/PeilessStartupLib/PeilessStartupLib.inf
    M OvmfPkg/ResetVector/ResetVector.inf
    M OvmfPkg/ResetVector/ResetVector.nasmb
    M OvmfPkg/ResetVector/X64/IntelTdxMetadata.nasm.inc

  Log Message:
  -----------
  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 <[email protected]>


Compare: https://github.com/tianocore/edk2/compare/4d5f8e68a1e9...35345c76a978

To unsubscribe from these emails, change your notification settings at 
https://github.com/tianocore/edk2/settings/notifications


_______________________________________________
edk2-commits mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/edk2-commits

Reply via email to