Enhance debug message in test FRM.

Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Jiewen Yao <jiewen.yao@intel.com>
This commit is contained in:
Jiewen Yao 2016-12-14 10:54:18 +08:00
parent f67a8a2ea1
commit 7ca2869b02
2 changed files with 3 additions and 3 deletions

View File

@ -139,7 +139,7 @@ FrmHandlerC (
//
InfoBasic.Uint32 = VmRead32 (VMCS_32_RO_EXIT_REASON_INDEX);
if (InfoBasic.Bits.Reason >= VmExitReasonMax) {
DEBUG ((EFI_D_ERROR, "(FRM) !!!UnknownReason!!!\n"));
DEBUG ((EFI_D_ERROR, "(FRM) !!!UnknownReason!!! (0x%x)\n", InfoBasic.Bits.Reason));
DumpVmcsAllField ();
CpuDeadLoop ();

View File

@ -73,7 +73,7 @@ IoResetWriteHandler (
Index = ApicToIndex (ReadLocalApicId ());
DEBUG ((EFI_D_INFO, "(FRM) !!!IoResetHandler!!!\n"));
DEBUG ((EFI_D_INFO, "(FRM) !!!IoResetWriteHandler!!!\n"));
FrmTeardownBsp (Index, 0);
AsmWbinvd ();
@ -113,7 +113,7 @@ KbcResetWriteHandler (
Index = ApicToIndex (ReadLocalApicId ());
DEBUG ((EFI_D_INFO, "(FRM) !!!KbcResetHandler!!!\n"));
DEBUG ((EFI_D_INFO, "(FRM) !!!KbcResetWriteHandler!!!\n"));
if ((UINT8)Value != KBC_RESET_WRITE_VALUE) {
// Normal KB