VirtualBox

Ignore:
Timestamp:
Jul 7, 2008 2:21:22 PM (16 years ago)
Author:
vboxsync
Message:

Wrong assertion. Due to ring 3 far jumps the assertion condition can actually be false.

File:
1 edited

Legend:

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

    r10299 r10330  
    581581    {
    582582        val = pCtx->cr0;
    583         if (CPUMIsGuestFPUStateActive(pVM) == false)
    584         {
     583        if (!CPUMIsGuestFPUStateActive(pVM))
     584        {
     585            Assert(!pVM->hwaccm.s.svm.fResumeVM);
    585586            /* Always use #NM exceptions to load the FPU/XMM state on demand. */
    586587            val |= X86_CR0_TS | X86_CR0_ET | X86_CR0_NE | X86_CR0_MP;
     
    588589        else
    589590        {
    590             Assert(pVM->hwaccm.s.svm.fResumeVM == true);
    591591            /** @todo check if we support the old style mess correctly. */
    592592            if (!(val & X86_CR0_NE))
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