summaryrefslogtreecommitdiff
path: root/MdeModulePkg/Library/PiDxeS3BootScriptLib/BootScriptSave.c
diff options
context:
space:
mode:
authorJohn Berg <jhnberg@amazon.co.uk>2026-08-11 12:46:59 +0300
committerArd Biesheuvel <ardb@kernel.org>2026-08-27 09:37:01 +0300
commit2c0d84e8a3764d81c3e0013777d812be5c56006f (patch)
tree2a4d8c4658c0e49cfac783833a731f2f80ba1ed8 /MdeModulePkg/Library/PiDxeS3BootScriptLib/BootScriptSave.c
parent0d486397bacf2d13794b8db06004c10ddbf47c4b (diff)
downloadedk2-2c0d84e8a3764d81c3e0013777d812be5c56006f.tar.xz
OvmfPkg: Reserve the AP Jump buffer in the SEV_ES_WORK_AREA
The PcdSevEsWorkAreaBase is used for the work area for SEV-ES during Sec and Pei. During the Dxe phase, the same address is used for the SEV_ES_AP_JMP_FAR to start the AP CPUs. Since the SEV_ES_WORK_AREA is being reused it scribbles over the data from Sec/Pei. This patch adds a 16 byte buffer to the start of the work area so that the values stored in the work area do not get overwritten. We also adjust the offsets for the work area in ResetVector.nasmb to correctly populate the work area. Signed-off-by: John Berg <jhnberg@amazon.co.uk>
Diffstat (limited to 'MdeModulePkg/Library/PiDxeS3BootScriptLib/BootScriptSave.c')
0 files changed, 0 insertions, 0 deletions