Reduce debug output

Signed-off-by: Eugene D Myers <cedarhouse@comcast.net>
This commit is contained in:
Eugene D Myers 2020-08-05 18:09:26 -04:00
parent ef2941178e
commit 4c86f8727f
2 changed files with 4 additions and 3 deletions

View File

@ -82,11 +82,11 @@ STM_STATUS
PhysAddressParameter = TranslateEPTGuestToHost(mGuestContextCommonSmm[VmType].EptPointer.Uint64, (UINTN)AddressParameter, 0L);
PhysAddressParameterEnd = TranslateEPTGuestToHost(mGuestContextCommonSmm[VmType].EptPointer.Uint64, (UINTN)AddressParameter + sizeof(STM_MAP_ADDRESS_RANGE_DESCRIPTOR), 0L);
#if 0
DEBUG((EFI_D_INFO,
"%ld PeSmmVmcallMapAddressRangeHandler - STM_API_MAP_ADDRESS_RANGE started\n",
Index));
#endif
if(((PhysAddressParameter == 0)||(PhysAddressParameterEnd == 0))||
((PhysAddressParameter & ~0xFFF) != (PhysAddressParameterEnd & ~0XFFF)))
{

View File

@ -540,7 +540,7 @@ void PrintVmxState(UINT32 CpuIndex, ROOT_VMX_STATE * RootState)
RootState->ExecutiveVMCS,
RootState->LinkVMCS,
RootState->RootContEPT));
#if 0
DEBUG((EFI_D_INFO,
"%ld PrintVmxState (%d) \n H_CR0 %llx\n H_CR3 %llx\n H_CR4 %llx\n H_GDTR %llx\n H_IDTR %llx\n H_RSP %llx\n H_RIP %llx\n H_EPT %llx\n",
CpuIndex,
@ -553,6 +553,7 @@ void PrintVmxState(UINT32 CpuIndex, ROOT_VMX_STATE * RootState)
RootState->RootHostRSP,
RootState->RootHostRIP,
RootState->RootHostEPT));
#endif
}
}