mirror of https://review.coreboot.org/STM.git
Added additional debugging information in the case of malformed
resource list. Signed-off-by: Eugene Myers <edmyers@tycho.nsa.gov>
This commit is contained in:
parent
e31d8506d8
commit
05f5e413eb
|
@ -1227,7 +1227,8 @@ LaunchBack (
|
|||
}
|
||||
|
||||
if(!IsResourceListValid ((STM_RSC *)(UINTN)mHostContextCommon.HostContextPerCpu[Index].TxtProcessorSmmDescriptor->BiosHwResourceRequirementsPtr, FALSE)) {
|
||||
DEBUG ((EFI_D_INFO, "%ld LaunchBack - ValidateBiosResourceList fail!\n", Index));
|
||||
DEBUG ((EFI_D_INFO, "%ld LaunchBack - ValidateBiosResourceList fail! Pointer: 0x%x\n", Index,
|
||||
(UINTN)mHostContextCommon.HostContextPerCpu[Index].TxtProcessorSmmDescriptor->BiosHwResourceRequirementsPtr));
|
||||
WriteUnaligned32 ((UINT32 *)&Reg->Rax, ERROR_STM_MALFORMED_RESOURCE_LIST);
|
||||
VmWriteN (VMCS_N_GUEST_RFLAGS_INDEX, VmReadN(VMCS_N_GUEST_RFLAGS_INDEX) | RFLAGS_CF);
|
||||
} else {
|
||||
|
|
Loading…
Reference in New Issue