warning fixes
This commit is contained in:
parent
d2b0146a7e
commit
17a94fc58e
@ -1286,7 +1286,8 @@ bx_phy_address BX_CPU_C::translate_guest_physical(bx_phy_address guest_paddr, bx
|
|||||||
|
|
||||||
extern bx_bool isMemTypeValidMTRR(unsigned memtype);
|
extern bx_bool isMemTypeValidMTRR(unsigned memtype);
|
||||||
if (! isMemTypeValidMTRR((curr_entry >> 3) & 7)) {
|
if (! isMemTypeValidMTRR((curr_entry >> 3) & 7)) {
|
||||||
BX_DEBUG(("EPT %s: EPT misconfiguration memtype=%d", bx_paging_level[leaf], (curr_entry >> 3) & 7));
|
BX_DEBUG(("EPT %s: EPT misconfiguration memtype=%d",
|
||||||
|
bx_paging_level[leaf], (unsigned)((curr_entry >> 3) & 7)));
|
||||||
vmexit_reason = VMX_VMEXIT_EPT_MISCONFIGURATION;
|
vmexit_reason = VMX_VMEXIT_EPT_MISCONFIGURATION;
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
@ -551,7 +551,7 @@ BX_INSF_TYPE BX_CPP_AttrRegparmN(1) BX_CPU_C::MONITOR(bxInstruction_c *i)
|
|||||||
exception(BX_UD_EXCEPTION, 0);
|
exception(BX_UD_EXCEPTION, 0);
|
||||||
}
|
}
|
||||||
|
|
||||||
BX_DEBUG(("MONITOR instruction executed EAX = 0x08x", (unsigned) EAX));
|
BX_DEBUG(("MONITOR instruction executed EAX = 0x%08x", EAX));
|
||||||
|
|
||||||
#if BX_SUPPORT_VMX
|
#if BX_SUPPORT_VMX
|
||||||
VMexit_MONITOR(i);
|
VMexit_MONITOR(i);
|
||||||
|
Loading…
Reference in New Issue
Block a user