diff options
| author | Jakov Zauzolkov <jakov.zauzolkov@aisec.fraunhofer.de> | 2026-06-30 10:47:21 +0300 |
|---|---|---|
| committer | mergify[bot] <37929162+mergify[bot]@users.noreply.github.com> | 2026-07-20 15:18:38 +0300 |
| commit | 1506c6da7bb6820beb1a1170909f181b69d63c8a (patch) | |
| tree | b986e11b943ec064867d174354fb653984202694 /MdeModulePkg/Library/PiDxeS3BootScriptLib/BootScriptSave.c | |
| parent | 99942e353274d6a4641c71e21399cd4ab0feca11 (diff) | |
| download | edk2-1506c6da7bb6820beb1a1170909f181b69d63c8a.tar.xz | |
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 <simon.ott@aisec.fraunhofer.de>
Signed-off-by: Jakov Zauzolkov <jakov.zauzolkov@aisec.fraunhofer.de>
Diffstat (limited to 'MdeModulePkg/Library/PiDxeS3BootScriptLib/BootScriptSave.c')
0 files changed, 0 insertions, 0 deletions
