Branch: refs/heads/master
  Home:   https://github.com/tianocore/edk2
  Commit: 1506c6da7bb6820beb1a1170909f181b69d63c8a
      
https://github.com/tianocore/edk2/commit/1506c6da7bb6820beb1a1170909f181b69d63c8a
  Author: Jakov Zauzolkov <[email protected]>
  Date:   2026-07-20 (Mon, 20 Jul 2026)

  Changed paths:
    M OvmfPkg/Library/AcpiTimerLib/BaseRomAcpiTimerLib.inf
    M OvmfPkg/OvmfPkgIa32X64.dsc
    M OvmfPkg/OvmfPkgX64.dsc

  Log Message:
  -----------
  OvmfPkg: Replace BaseAcpiTimerLib with BaseRomAcpiTimerLib in PEI

The BaseAcpiTimerLib instance contains a static global variable,
'mAcpiTimerIoAddr', that caches the ACPI timer IO base address. As this
library executes during PEI phase prior to the PEIFV measurement into
PCR0, the value of the variable is included into the measurement. This
causes the PEIFV binary footprint to change, preventing a precomputation
of the expected value needed for remote attestation.

Fix this by using the BaseRomAcpiTimerLib in the PEI phase instead of
the BaseAcpiTimerLib. This library dynamically computes the required
address and does not introduce global variables, keeping the PEIFV
binary unchanged.

Co-authored-by: Simon Ott <[email protected]>
Signed-off-by: Jakov Zauzolkov <[email protected]>



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