VirtualBox

Changeset 49486 in vbox for trunk/src/VBox


Ignore:
Timestamp:
Nov 14, 2013 4:38:53 PM (11 years ago)
Author:
vboxsync
Message:

VMM: Warnings.

Location:
trunk/src/VBox/VMM/VMMAll
Files:
5 edited

Legend:

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

    r45152 r49486  
    269269            PVMCPU  pVCpu = VMMGetCpu(pVM);
    270270            HMR0Leave(pVM, pVCpu);
    271             RTThreadPreemptRestore(NIL_RTTHREAD, ????);
     271            RTThreadPreemptRestore(NIL_RTTHREAD, XXX);
    272272
    273273            rc = pdmR3R0CritSectEnterContended(pCritSect, hNativeSelf, pSrcPos);
    274274
    275             RTThreadPreemptDisable(NIL_RTTHREAD, ????);
     275            RTThreadPreemptDisable(NIL_RTTHREAD, XXX);
    276276            HMR0Enter(pVM, pVCpu);
    277277        }
  • trunk/src/VBox/VMM/VMMAll/PDMAllCritSectRw.cpp

    r48936 r49486  
    432432VMMDECL(int) PDMCritSectRwEnterSharedDebug(PPDMCRITSECTRW pThis, int rcBusy, RTHCUINTPTR uId, RT_SRC_POS_DECL)
    433433{
     434    NOREF(uId); NOREF(pszFile); NOREF(iLine); NOREF(pszFunction);
    434435#if !defined(PDMCRITSECTRW_STRICT) || !defined(IN_RING3)
    435436    return pdmCritSectRwEnterShared(pThis, rcBusy, false /*fTryOnly*/, NULL,    false /*fNoVal*/);
     
    492493VMMDECL(int) PDMCritSectRwTryEnterSharedDebug(PPDMCRITSECTRW pThis, RTHCUINTPTR uId, RT_SRC_POS_DECL)
    493494{
     495    NOREF(uId); NOREF(pszFile); NOREF(iLine); NOREF(pszFunction);
    494496#if !defined(PDMCRITSECTRW_STRICT) || !defined(IN_RING3)
    495497    return pdmCritSectRwEnterShared(pThis, VERR_SEM_BUSY, true /*fTryOnly*/, NULL,    false /*fNoVal*/);
     
    965967VMMDECL(int) PDMCritSectRwEnterExclDebug(PPDMCRITSECTRW pThis, int rcBusy, RTHCUINTPTR uId, RT_SRC_POS_DECL)
    966968{
     969    NOREF(uId); NOREF(pszFile); NOREF(iLine); NOREF(pszFunction);
    967970#if !defined(PDMCRITSECTRW_STRICT) || !defined(IN_RING3)
    968971    return pdmCritSectRwEnterExcl(pThis, rcBusy, false /*fTryAgain*/, NULL,    false /*fNoVal*/);
     
    10211024VMMDECL(int) PDMCritSectRwTryEnterExclDebug(PPDMCRITSECTRW pThis, RTHCUINTPTR uId, RT_SRC_POS_DECL)
    10221025{
     1026    NOREF(uId); NOREF(pszFile); NOREF(iLine); NOREF(pszFunction);
    10231027#if !defined(PDMCRITSECTRW_STRICT) || !defined(IN_RING3)
    10241028    return pdmCritSectRwEnterExcl(pThis, VERR_SEM_BUSY, true /*fTryAgain*/, NULL,    false /*fNoVal*/);
  • trunk/src/VBox/VMM/VMMAll/PGMAll.cpp

    r47444 r49486  
    809809VMMDECL(VBOXSTRICTRC) PGMInterpretInstruction(PVM pVM, PVMCPU pVCpu, PCPUMCTXCORE pRegFrame, RTGCPTR pvFault)
    810810{
     811    NOREF(pVM);
    811812    VBOXSTRICTRC rc = EMInterpretInstruction(pVCpu, pRegFrame, pvFault);
    812813    if (rc == VERR_EM_INTERPRETER)
  • trunk/src/VBox/VMM/VMMAll/PGMAllPhys.cpp

    r47792 r49486  
    10121012{
    10131013    PGM_LOCK_ASSERT_OWNER(pVM);
     1014    NOREF(GCPhys);
    10141015
    10151016#if defined(IN_RC) || defined(VBOX_WITH_2X_4GB_ADDR_SPACE_IN_R0)
     
    10211022    Assert(HCPhys != pVM->pgm.s.HCPhysZeroPg);
    10221023    pgmRZDynMapHCPageInlined(VMMGetCpu(pVM), HCPhys, ppv RTLOG_COMMA_SRC_POS);
    1023     NOREF(GCPhys);
    10241024    return VINF_SUCCESS;
    10251025
  • trunk/src/VBox/VMM/VMMAll/VMMAll.cpp

    r48441 r49486  
    7171                                                  void *pvUser)
    7272{
     73    NOREF(pszType); NOREF(cchWidth); NOREF(cchPrecision); NOREF(fFlags);
     74
    7375    PCVMCPUSET  pSet   = (PCVMCPUSET)pvValue;
    7476    uint32_t    cCpus  = 0;
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