VirtualBox

Changeset 57856 in vbox for trunk


Ignore:
Timestamp:
Sep 22, 2015 2:26:11 PM (9 years ago)
Author:
vboxsync
Message:

VMM: warnings.

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

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/VMM/VMMAll/CPUMAllRegs.cpp

    r57446 r57856  
    27042704{
    27052705    Assert(!(pVCpu->cpum.s.fUseFlags & (CPUM_USED_DEBUG_REGS_GUEST | CPUM_USED_DEBUG_REGS_HYPER | CPUM_USED_DEBUG_REGS_HOST)));
     2706    NOREF(pVCpu);
    27062707}
    27072708
  • trunk/src/VBox/VMM/VMMR0/VMMR0.cpp

    r57446 r57856  
    20772077        SUPR0Printf("vmmR0LoggerFlush: invalid VCPU context!\n");
    20782078# endif
    2079 #endif
     2079#else
     2080    NOREF(pLogger);
     2081#endif  /* LOG_ENABLED */
    20802082}
    20812083
     
    21082110    return 2;
    21092111#else
     2112    NOREF(pLogger); NOREF(pcbBuf); NOREF(cchBuf);
    21102113    return 0;
    21112114#endif
     
    22332236{
    22342237    for (size_t i = 0; i < cbChars; i++)
    2235         LogAlways(("%c", pachChars[i]));
     2238    {
     2239        LogAlways(("%c", pachChars[i])); NOREF(pachChars);
     2240    }
    22362241
    22372242    NOREF(pv);
  • trunk/src/VBox/VMM/include/PGMInline.h

    r56626 r57856  
    14031403DECLINLINE(void) pgmPoolLockPage(PPGMPOOL pPool, PPGMPOOLPAGE pPage)
    14041404{
    1405     PGM_LOCK_ASSERT_OWNER(pPool->CTX_SUFF(pVM));
     1405    PGM_LOCK_ASSERT_OWNER(pPool->CTX_SUFF(pVM)); NOREF(pPool);
    14061406    ASMAtomicIncU32(&pPage->cLocked);
    14071407}
     
    14161416DECLINLINE(void) pgmPoolUnlockPage(PPGMPOOL pPool, PPGMPOOLPAGE pPage)
    14171417{
    1418     PGM_LOCK_ASSERT_OWNER(pPool->CTX_SUFF(pVM));
     1418    PGM_LOCK_ASSERT_OWNER(pPool->CTX_SUFF(pVM)); NOREF(pPool);
    14191419    Assert(pPage->cLocked);
    14201420    ASMAtomicDecU32(&pPage->cLocked);
     
    14511451#ifdef PGM_WITHOUT_MAPPINGS
    14521452    /* There are no mappings in VT-x and AMD-V mode. */
    1453     Assert(HMIsEnabled(pVM));
     1453    Assert(HMIsEnabled(pVM)); NOREF(pVM);
    14541454    return false;
    14551455#else
     
    14701470#ifdef PGM_WITHOUT_MAPPINGS
    14711471    /* There are no mappings in VT-x and AMD-V mode. */
    1472     Assert(HMIsEnabled(pVM));
     1472    Assert(HMIsEnabled(pVM)); NOREF(pVM);
    14731473    return false;
    14741474#else
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