Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
OvmfPkg/ResetVector: wire up 5-level paging for TDX
BSP workflow is quite simliar to the non-coco case. TDX_WORK_AREA_PGTBL_READY is used to record the paging mode: 1 == 4-level paging 2 == 5-level paging APs will look at TDX_WORK_AREA_PGTBL_READY to figure whenever they should enable 5-level paging or not. Signed-off-by: Gerd Hoffmann <[email protected]> Message-Id: <[email protected]> Reviewed-by: Laszlo Ersek <[email protected]> [[email protected]: move "CheckForSev:" label into "%if PG_5_LEVEL" scope, as discussed with Gerd] Cc: Jiewen Yao <[email protected]> Cc: Oliver Steffen <[email protected]> Cc: Michael Roth <[email protected]> Cc: Erdem Aktas <[email protected]> Cc: Min Xu <[email protected]> Cc: Ard Biesheuvel <[email protected]> Cc: Tom Lendacky <[email protected]> [[email protected]: turn the "Cc:" message headers from Gerd's on-list posting into "Cc:" tags in the commit message, in order to pacify "PatchCheck.py"]
- Loading branch information