VirtualBox

Changeset 45785 in vbox


Ignore:
Timestamp:
Apr 26, 2013 4:59:47 PM (12 years ago)
Author:
vboxsync
Message:

VMM/HMVMXR0: paranoia and comments.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/VMM/VMMR0/HMVMXR0.cpp

    r45781 r45785  
    33873387        {
    33883388            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
    33903391                && PGMGetGuestMode(pVCpu) >= PGMMODE_PROTECTED)
    33913392            {
    3392                 /* Signal that recompiler must flush its code-cache as the guest -may- rewrite code it will later execute
     3393                /* Signal that the recompiler must flush its code-cache as the guest -may- rewrite code it will later execute
    33933394                   in real-mode (e.g. OpenBSD 4.0) */
    33943395                REMFlushTBs(pVM);
     
    34943495        AssertRCReturn(rc, rc);
    34953496
    3496         Assert(!(pMixedCtx->gdtr.cbGdt & 0xffff0000ULL));      /* Bits 31:16 MBZ. */
     3497        Assert(!(pMixedCtx->gdtr.cbGdt & 0xffff0000ULL));       /* Bits 31:16 MBZ. */
    34973498        Log(("Load: VMX_VMCS_GUEST_GDTR_BASE=%#RX64\n", pMixedCtx->gdtr.pGdt));
    34983499        pVCpu->hm.s.fContextUseFlags &= ~HM_CHANGED_GUEST_GDTR;
     
    35453546        AssertRCReturn(rc, rc);
    35463547
    3547         Assert(!(pMixedCtx->idtr.cbIdt & 0xffff0000ULL));      /* Bits 31:16 MBZ. */
     3548        Assert(!(pMixedCtx->idtr.cbIdt & 0xffff0000ULL));       /* Bits 31:16 MBZ. */
    35483549        Log(("Load: VMX_VMCS_GUEST_IDTR_BASE=%#RX64\n", pMixedCtx->idtr.pIdt));
    35493550        pVCpu->hm.s.fContextUseFlags &= ~HM_CHANGED_GUEST_IDTR;
Note: See TracChangeset for help on using the changeset viewer.

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette