mirror of https://review.coreboot.org/STM.git
Core/Runtime/ add additional diagnostics
Signed-off-by: Eugene Myers <edmyers@cyberpackventures.com>
This commit is contained in:
parent
2ac2820062
commit
c4e91bfdda
|
@ -338,6 +338,7 @@ SplitPage (
|
|||
NewPageEntry = (EPT_ENTRY *)AllocatePages (1);
|
||||
//DEBUG ((EFI_D_INFO, "Split - 0x%x\n", NewPageEntry));
|
||||
if (NewPageEntry == NULL) {
|
||||
DEBUG((EFI_D_ERROR, "%ld SplitPage(1) - AllocatePages returned NULL\n", Index));
|
||||
return RETURN_OUT_OF_RESOURCES;
|
||||
}
|
||||
BaseAddress = PageEntry->Uint64 & PAGING_2M_ADDRESS_MASK_64;
|
||||
|
@ -362,6 +363,7 @@ SplitPage (
|
|||
NewPageEntry = (EPT_ENTRY *)AllocatePages (1);
|
||||
DEBUG ((EFI_D_INFO, "Split - 0x%x\n", NewPageEntry));
|
||||
if (NewPageEntry == NULL) {
|
||||
DEBUG((EFI_D_ERROR, "%ld SplitPage(2) - AllocatePages returned NULL\n", Index));
|
||||
return RETURN_OUT_OF_RESOURCES;
|
||||
}
|
||||
BaseAddress = PageEntry->Uint64 & PAGING_1G_ADDRESS_MASK_64;
|
||||
|
|
|
@ -125,7 +125,9 @@ VOID
|
|||
|
||||
Rflags = AsmVmPtrLoad (&mGuestContextCommonSmi.GuestContextPerCpu[Index].Vmcs);
|
||||
if ((Rflags & (RFLAGS_CF | RFLAGS_ZF)) != 0) {
|
||||
DEBUG ((EFI_D_ERROR, "%ld RsmHandler - ERROR: AsmVmPtrLoad - %016lx : %08x\n", (UINTN)Index, mGuestContextCommonSmi.GuestContextPerCpu[Index].Vmcs, Rflags));
|
||||
DEBUG ((EFI_D_ERROR, "%ld RsmHandler - ERROR: AsmVmPtrLoad - %016lx : %08x\n",
|
||||
(UINTN)Index, mGuestContextCommonSmi.GuestContextPerCpu[Index].Vmcs, Rflags));
|
||||
DumpVmcsAllField (Index);
|
||||
CpuDeadLoop ();
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue