VirtualBox

Changeset 62659 in vbox for trunk/src/VBox/VMM/VMMR3


Ignore:
Timestamp:
Jul 28, 2016 10:36:23 PM (8 years ago)
Author:
vboxsync
Message:

VMMR3: warnings

Location:
trunk/src/VBox/VMM/VMMR3
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/VMM/VMMR3/EM.cpp

    r62640 r62659  
    27212721    }
    27222722
    2723     /* (won't ever get here). */
    2724     AssertFailed();
     2723    /* not reached */
    27252724}
    27262725
  • trunk/src/VBox/VMM/VMMR3/EMRaw.cpp

    r62637 r62659  
    14931493            ||  VMCPU_FF_IS_PENDING(pVCpu, ~VMCPU_FF_HIGH_PRIORITY_PRE_RAW_MASK))
    14941494        {
    1495             Assert(pCtx->eflags.Bits.u1VM || (pCtx->ss.Sel & X86_SEL_RPL) != (EMIsRawRing1Enabled(pVM) ? 2 : 1));
     1495            Assert(pCtx->eflags.Bits.u1VM || (pCtx->ss.Sel & X86_SEL_RPL) != (EMIsRawRing1Enabled(pVM) ? 2U : 1U));
    14961496
    14971497            STAM_REL_PROFILE_ADV_SUSPEND(&pVCpu->em.s.StatRAWTotal, a);
  • trunk/src/VBox/VMM/VMMR3/PGMPhys.cpp

    r62644 r62659  
    43514351            RTAssertMsg2Weak("i=%d iClear=%d cHandyPages=%d\n", i, iClear, pVM->pgm.s.cHandyPages);
    43524352            for (uint32_t j = iClear; j < pVM->pgm.s.cHandyPages; j++)
    4353                 RTAssertMsg2Add(("%03d: idPage=%d HCPhysGCPhys=%RHp idSharedPage=%d%\n", j,
    4354                                  pVM->pgm.s.aHandyPages[j].idPage,
    4355                                  pVM->pgm.s.aHandyPages[j].HCPhysGCPhys,
    4356                                  pVM->pgm.s.aHandyPages[j].idSharedPage,
    4357                                  j == i ? " <---" : ""));
     4353                RTAssertMsg2Add("%03d: idPage=%d HCPhysGCPhys=%RHp idSharedPage=%d%\n", j,
     4354                                pVM->pgm.s.aHandyPages[j].idPage,
     4355                                pVM->pgm.s.aHandyPages[j].HCPhysGCPhys,
     4356                                pVM->pgm.s.aHandyPages[j].idSharedPage,
     4357                                j == i ? " <---" : "");
    43584358            RTAssertPanic();
    43594359        }
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