summaryrefslogtreecommitdiff
path: root/MdeModulePkg/Library/PiDxeS3BootScriptLib/BootScriptSave.c
diff options
context:
space:
mode:
authorJakov Zauzolkov <jakov.zauzolkov@aisec.fraunhofer.de>2026-06-30 10:47:21 +0300
committermergify[bot] <37929162+mergify[bot]@users.noreply.github.com>2026-07-20 15:18:38 +0300
commit1506c6da7bb6820beb1a1170909f181b69d63c8a (patch)
treeb986e11b943ec064867d174354fb653984202694 /MdeModulePkg/Library/PiDxeS3BootScriptLib/BootScriptSave.c
parent99942e353274d6a4641c71e21399cd4ab0feca11 (diff)
downloadedk2-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