mirror of https://review.coreboot.org/STM.git
Core/Runtime/SmiEventHandler.c - add additional diagnostics
Signed-off-by: Eugene Myers <edmyers@cyberpackventures.com>
This commit is contained in:
parent
473d544c10
commit
42be595439
|
@ -69,7 +69,16 @@ SmiEventHandler (
|
|||
|
||||
if(PeSmiHandler(Index) == 1)
|
||||
{
|
||||
AsmVmPtrLoad (&mGuestContextCommonSmi.GuestContextPerCpu[Index].Vmcs);
|
||||
#if 1
|
||||
Rflags = AsmVmPtrLoad (&mGuestContextCommonSmi.GuestContextPerCpu[Index].Vmcs);
|
||||
if ((Rflags & (RFLAGS_CF | RFLAGS_ZF)) != 0) {
|
||||
DEBUG ((EFI_D_ERROR,
|
||||
"%ld ERROR: AsmVmPtrLoad - %016lx : %08x\n",
|
||||
(UINTN)Index,
|
||||
mGuestContextCommonSmm[SMI_HANDLER].GuestContextPerCpu[Index].Vmcs,
|
||||
Rflags));
|
||||
}
|
||||
#endif
|
||||
return;
|
||||
}
|
||||
#if 0
|
||||
|
|
Loading…
Reference in New Issue