mirror of https://review.coreboot.org/STM.git
Add additional diagnostic information in the case of smbase inconsistencyZ
Signed-off-by: Eugene Myers <edmyers@tycho.nsa.gov>
This commit is contained in:
parent
ac27d461a0
commit
9e68cd00dc
|
@ -219,9 +219,13 @@ WriteSyncSmmStateSaveArea (
|
|||
// Basic info
|
||||
//
|
||||
if (CpuState->Smbase != mHostContextCommon.HostContextPerCpu[Index].Smbase) {
|
||||
DEBUG ((EFI_D_INFO, "%ld WriteSyncSmmStateSaveArea - Error - Smbase inconsistency CpuState: %08x HostContextPerCpu: %08x\n",
|
||||
Index, CpuState->Smbase, mHostContextCommon.HostContextPerCpu[Index].Smbase));
|
||||
CpuDeadLoop ();
|
||||
CpuState->Smbase = VmRead32 (VMCS_32_GUEST_SMBASE_INDEX);
|
||||
if (CpuState->Smbase != mHostContextCommon.HostContextPerCpu[Index].Smbase) {
|
||||
|
||||
DEBUG ((EFI_D_INFO, "%ld WriteSyncSmmStateSaveArea - Error - Smbase inconsistency CpuState: %08x HostContextPerCpu: %08x\n",
|
||||
Index, CpuState->Smbase, mHostContextCommon.HostContextPerCpu[Index].Smbase));
|
||||
CpuDeadLoop ();
|
||||
}
|
||||
}
|
||||
CpuState->SMMRevId = STM_SMM_REV_ID;
|
||||
|
||||
|
|
Loading…
Reference in New Issue