Changeset 45785 in vbox
- Timestamp:
- Apr 26, 2013 4:59:47 PM (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/VMM/VMMR0/HMVMXR0.cpp
r45781 r45785 3387 3387 { 3388 3388 Assert(pVM->hm.s.vmx.pRealModeTSS); 3389 if ( pVCpu->hm.s.vmx.fWasInRealMode 3389 AssertCompile(PGMMODE_REAL < PGMMODE_PROTECTED); 3390 if ( pVCpu->hm.s.vmx.fWasInRealMode 3390 3391 && PGMGetGuestMode(pVCpu) >= PGMMODE_PROTECTED) 3391 3392 { 3392 /* Signal that recompiler must flush its code-cache as the guest -may- rewrite code it will later execute3393 /* Signal that the recompiler must flush its code-cache as the guest -may- rewrite code it will later execute 3393 3394 in real-mode (e.g. OpenBSD 4.0) */ 3394 3395 REMFlushTBs(pVM); … … 3494 3495 AssertRCReturn(rc, rc); 3495 3496 3496 Assert(!(pMixedCtx->gdtr.cbGdt & 0xffff0000ULL)); /* Bits 31:16 MBZ. */3497 Assert(!(pMixedCtx->gdtr.cbGdt & 0xffff0000ULL)); /* Bits 31:16 MBZ. */ 3497 3498 Log(("Load: VMX_VMCS_GUEST_GDTR_BASE=%#RX64\n", pMixedCtx->gdtr.pGdt)); 3498 3499 pVCpu->hm.s.fContextUseFlags &= ~HM_CHANGED_GUEST_GDTR; … … 3545 3546 AssertRCReturn(rc, rc); 3546 3547 3547 Assert(!(pMixedCtx->idtr.cbIdt & 0xffff0000ULL)); /* Bits 31:16 MBZ. */3548 Assert(!(pMixedCtx->idtr.cbIdt & 0xffff0000ULL)); /* Bits 31:16 MBZ. */ 3548 3549 Log(("Load: VMX_VMCS_GUEST_IDTR_BASE=%#RX64\n", pMixedCtx->idtr.pIdt)); 3549 3550 pVCpu->hm.s.fContextUseFlags &= ~HM_CHANGED_GUEST_IDTR;
Note:
See TracChangeset
for help on using the changeset viewer.