Branch: refs/heads/master
  Home:   https://github.com/tianocore/edk2
  Commit: 6d90162e2803a9627460a0b88548028d46910dba
      
https://github.com/tianocore/edk2/commit/6d90162e2803a9627460a0b88548028d46910dba
  Author: Gerd Hoffmann <[email protected]>
  Date:   2025-09-11 (Thu, 11 Sep 2025)

  Changed paths:
    M OvmfPkg/ResetVector/Ia32/IntelTdx.asm
    M OvmfPkg/ResetVector/Main.asm

  Log Message:
  -----------
  OvmfPkg/ResetVector: move ReloadFlat32 call

Move the call from IntelTdx.asm to Main.asm.  This is needed when using
the Main32 entry point.  Right now is used in TDX mode only, but this
can potentially used by other modes (native, SEV) too.  So prepare for
that.

Signed-off-by: Gerd Hoffmann <[email protected]>


  Commit: 4a1dca59f6730da5746597b24c608b001c87486f
      
https://github.com/tianocore/edk2/commit/4a1dca59f6730da5746597b24c608b001c87486f
  Author: Gerd Hoffmann <[email protected]>
  Date:   2025-09-11 (Thu, 11 Sep 2025)

  Changed paths:
    M OvmfPkg/ResetVector/Ia32/AmdSev.asm
    M OvmfPkg/ResetVector/Ia32/Flat32ToFlat64.asm
    M OvmfPkg/ResetVector/Main.asm

  Log Message:
  -----------
  OvmfPkg/ResetVector: reorganize #vc exit handler setup.

Move setup + teardown of the #vc exception handler to separate
functions.  Setup as early as possible (right after entering 32-bit
mode).  Teardown as late as possible (right before entering 64-bit
mode).

This makes the cpuid instruction work in all 32-bit code, no matter
what mode (native/TDX/SEV) the code is running in.  Specifically
the TDX probe code works properly in SEV mode because the #vc handler
emulates the instruction properly.

Signed-off-by: Gerd Hoffmann <[email protected]>


Compare: https://github.com/tianocore/edk2/compare/ea5a8582e776...4a1dca59f673

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