VirtualBox

Changeset 10297 in vbox for trunk


Ignore:
Timestamp:
Jul 7, 2008 7:54:28 AM (16 years ago)
Author:
vboxsync
Message:

More assertions.

Location:
trunk/src/VBox/VMM/VMMR0
Files:
2 edited

Legend:

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

    r9669 r10297  
    719719    int      rc;
    720720    RTCPUID  idCpu = RTMpCpuId();
     721
     722    Assert(!VM_FF_ISPENDING(pVM, VM_FF_PGM_SYNC_CR3 | VM_FF_PGM_SYNC_CR3_NON_GLOBAL));
    721723
    722724    rc = CPUMQueryGuestCtxPtr(pVM, &pCtx);
  • trunk/src/VBox/VMM/VMMR0/HWSVMR0.cpp

    r10269 r10297  
    883883        pVM->hwaccm.s.svm.idLastCpu = pCpu->idCpu;
    884884    }
     885    else
     886        Assert(pVM->hwaccm.s.svm.idLastCpu == pCpu->idCpu);
    885887
    886888    /* Make sure we flush the TLB when required. Switch ASID to achieve the same thing, but without actually flushing the whole TLB (which is expensive). */
     
    15441546            STAM_COUNTER_INC(&pVM->hwaccm.s.StatFlushTLBCRxChange);
    15451547
    1546             /** @note Force a TLB flush. SVM requires us to do it manually. */
    1547             pVM->hwaccm.s.svm.fForceTLBFlush = true;
     1548            /* Must be set by PGMSyncCR3 */
     1549            Assert(pVM->hwaccm.s.svm.fForceTLBFlush);
    15481550        }
    15491551        if (rc == VINF_SUCCESS)
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