mirror of https://github.com/acidanthera/audk.git
UefiCpuPkg/PiSmmCpuDxeSmm: Deadloop if PFAddr is not supported by system
Deadloop if PFAddr is not supported by system, no need check SMM CPU RestrictedMemory access enable or not. Signed-off-by: Jiaxin Wu <jiaxin.wu@intel.com>
This commit is contained in:
parent
c8ce84d067
commit
f6eb069e17
|
@ -726,7 +726,7 @@ SmiPFHandler (
|
|||
|
||||
PFAddress = AsmReadCr2 ();
|
||||
|
||||
if (mCpuSmmRestrictedMemoryAccess && (PFAddress >= LShiftU64 (1, (mPhysicalAddressBits - 1)))) {
|
||||
if (PFAddress >= LShiftU64 (1, (mPhysicalAddressBits - 1))) {
|
||||
DumpCpuContext (InterruptType, SystemContext);
|
||||
DEBUG ((DEBUG_ERROR, "Do not support address 0x%lx by processor!\n", PFAddress));
|
||||
CpuDeadLoop ();
|
||||
|
|
Loading…
Reference in New Issue