diff options
author | Dun Tan <dun.tan@intel.com> | 2024-07-25 13:56:37 +0800 |
---|---|---|
committer | mergify[bot] <37929162+mergify[bot]@users.noreply.github.com> | 2024-08-05 06:59:09 +0000 |
commit | b5c9bbff8e9c2613dc72ab4dde6d4ddc1e1217bd (patch) | |
tree | 8d7106e9742890568fe3aa6faa2f7067fcbea5e5 /OvmfPkg/Library/PlatformBmPrintScLib | |
parent | b3631ca944bda812f51db3f833f18d82d8e0e761 (diff) | |
download | edk2-b5c9bbff8e9c2613dc72ab4dde6d4ddc1e1217bd.tar.gz |
UefiCpuPkg:CpuDeadLoop in SmiPFHandler if SMM profile is disabled
Always call CpuDeadLoop() in SmiPFHandler if SMM
profile is disabled.
Previously, when PcdCpuSmmRestrictedMemoryAccess is
FALSE, SMM page table only covers [0, 4g]. When code
access to range above 4g happens, SmiPFHandler will map
the accessed not-present range to present. After we
always create full mapping page table, the dynamic page
table creation logic is only needed when SMM profile is
enabled. So we use CpuDeadLoop() in SmiPFHandler to cover
the all the PF exception when SMM profile is disabled
Considering that [0, 4g] is always mapped in SMM page
table, we also modify the IA32 SmiPFHandler code to be
aligned with X64 code.
Signed-off-by: Dun Tan <dun.tan@intel.com>
Diffstat (limited to 'OvmfPkg/Library/PlatformBmPrintScLib')
0 files changed, 0 insertions, 0 deletions