VirtualBox

Changeset 62606 in vbox for trunk/src/VBox


Ignore:
Timestamp:
Jul 27, 2016 4:33:40 PM (8 years ago)
Author:
vboxsync
Message:

VMM: Unused parameters.

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

Legend:

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

    r62601 r62606  
    25672567    NOREF(pvUser);
    25682568    Assert(!(GCPhysAddr & 0xf));
    2569     Assert(cb == 4);
     2569    Assert(cb == 4); RT_NOREF_PV(cb);
    25702570
    25712571    PAPICDEV pApicDev = PDMINS_2_DATA(pDevIns, PAPICDEV);
     
    25912591    NOREF(pvUser);
    25922592    Assert(!(GCPhysAddr & 0xf));
    2593     Assert(cb == 4);
     2593    Assert(cb == 4); RT_NOREF_PV(cb);
    25942594
    25952595    PAPICDEV pApicDev = PDMINS_2_DATA(pDevIns, PAPICDEV);
  • trunk/src/VBox/VMM/VMMAll/CPUMAllMsrs.cpp

    r62601 r62606  
    411411     */
    412412    Assert(pRange->uValue == (idMsr - 0x200) / 2);
    413     RT_NOREF_PV(pVCpu); RT_NOREF_PV(idMsr); RT_NOREF_PV(uRawValue);
     413    RT_NOREF_PV(pVCpu); RT_NOREF_PV(idMsr); RT_NOREF_PV(uRawValue); RT_NOREF_PV(pRange);
    414414
    415415    if ((uValue & 0xff) >= 7)
     
    453453     */
    454454    Assert(pRange->uValue == (idMsr - 0x200) / 2);
    455     RT_NOREF_PV(pVCpu); RT_NOREF_PV(idMsr); RT_NOREF_PV(uRawValue);
     455    RT_NOREF_PV(pVCpu); RT_NOREF_PV(idMsr); RT_NOREF_PV(uRawValue); RT_NOREF_PV(pRange);
    456456
    457457    uint64_t fInvPhysMask = ~(RT_BIT_64(pVCpu->CTX_SUFF(pVM)->cpum.s.GuestFeatures.cMaxPhysAddrWidth) - 1U);
  • trunk/src/VBox/VMM/VMMAll/PGMAllBth.h

    r62601 r62606  
    18991899    PPGMPOOL pPool = pVM->pgm.s.CTX_SUFF(pPool); NOREF(pPool);
    19001900    LogFlow(("SyncPage: GCPtrPage=%RGv cPages=%u uErr=%#x\n", GCPtrPage, cPages, uErr));
     1901    RT_NOREF_PV(uErr); RT_NOREF_PV(cPages); RT_NOREF_PV(GCPtrPage);
    19011902
    19021903    PGM_LOCK_ASSERT_OWNER(pVM);
     
    23882389
    23892390    Log(("CheckPageFault: real page fault (notp) at %RGv (%d)\n", GCPtrPage, uPageFaultLevel));
     2391    RT_NOREF_PV(GCPtrPage); RT_NOREF_PV(uPageFaultLevel);
    23902392    return VINF_EM_RAW_GUEST_TRAP;
    23912393}
     
    24102412
    24112413    Log(("CheckPageFault: real page fault (rsvd) at %RGv (%d)\n", GCPtrPage, uPageFaultLevel));
     2414    RT_NOREF_PV(GCPtrPage); RT_NOREF_PV(uPageFaultLevel);
    24122415    return VINF_EM_RAW_GUEST_TRAP;
    24132416}
     
    24322435
    24332436    Log(("CheckPageFault: real page fault (prot) at %RGv (%d)\n", GCPtrPage, uPageFaultLevel));
     2437    RT_NOREF_PV(GCPtrPage); RT_NOREF_PV(uPageFaultLevel);
    24342438    return VINF_EM_RAW_GUEST_TRAP;
    24352439}
     
    26432647    STAM_COUNTER_INC(&pVCpu->pgm.s.StatSyncPtPD[iPDSrc]);
    26442648#endif
    2645     LogFlow(("SyncPT: GCPtrPage=%RGv\n", GCPtrPage));
     2649    LogFlow(("SyncPT: GCPtrPage=%RGv\n", GCPtrPage)); RT_NOREF_PV(GCPtrPage);
    26462650
    26472651    PGM_LOCK_ASSERT_OWNER(pVM);
     
    34953499
    34963500    LogFlow(("VerifyAccessSyncPage: GCPtrPage=%RGv fPage=%#x uErr=%#x\n", GCPtrPage, fPage, uErr));
     3501    RT_NOREF_PV(GCPtrPage); RT_NOREF_PV(fPage); RT_NOREF_PV(uErr);
    34973502
    34983503    Assert(!pVM->pgm.s.fNestedPaging);
  • trunk/src/VBox/VMM/VMMAll/PGMAllGst.h

    r62478 r62606  
    333333PGM_GST_DECL(int, ModifyPage)(PVMCPU pVCpu, RTGCPTR GCPtr, size_t cb, uint64_t fFlags, uint64_t fMask)
    334334{
    335     Assert((cb & PAGE_OFFSET_MASK) == 0);
     335    Assert((cb & PAGE_OFFSET_MASK) == 0); RT_NOREF_PV(cb);
    336336
    337337#if PGM_GST_TYPE == PGM_TYPE_32BIT \
  • trunk/src/VBox/VMM/VMMAll/PGMAllMap.cpp

    r62478 r62606  
    670670int pgmMapActivateCR3(PVM pVM, PPGMPOOLPAGE pShwPageCR3)
    671671{
     672    RT_NOREF_PV(pShwPageCR3);
     673
    672674    /*
    673675     * Skip this if it doesn't apply.
  • trunk/src/VBox/VMM/VMMAll/PGMAllPhys.cpp

    r62478 r62606  
    20242024#if defined(IN_RC) || defined(VBOX_WITH_2X_4GB_ADDR_SPACE_IN_R0)
    20252025    Assert(pLock->pvPage != NULL);
    2026     Assert(pLock->pVCpu == VMMGetCpu(pVM));
     2026    Assert(pLock->pVCpu == VMMGetCpu(pVM)); RT_NOREF_PV(pVM);
    20272027    PGM_DYNMAP_UNUSED_HINT(pLock->pVCpu, pLock->pvPage);
    20282028    pLock->pVCpu  = NULL;
     
    21302130    Log(("pgmPhysGCPhys2R3Ptr(,%RGp,): dont use this API!\n", GCPhys)); /** @todo eliminate this API! */
    21312131#if defined(IN_RC) || defined(VBOX_WITH_2X_4GB_ADDR_SPACE_IN_R0)
    2132     NOREF(pVM); NOREF(pR3Ptr);
     2132    NOREF(pVM); NOREF(pR3Ptr); RT_NOREF_PV(GCPhys);
    21332133    AssertFailedReturn(VERR_NOT_IMPLEMENTED);
    21342134#else
  • trunk/src/VBox/VMM/VMMAll/PGMAllPool.cpp

    r62601 r62606  
    716716            )
    717717    {
    718         STAM_COUNTER_INC(&pPool->CTX_MID_Z(StatMonitor,Fork));
     718        STAM_COUNTER_INC(&pPool->CTX_MID_Z(StatMonitor,Fork)); RT_NOREF_PV(pPool);
    719719        return true;
    720720    }
     
    19901990        return;
    19911991
    1992     Log(("pgmPoolResetDirtyPage %RGv\n", GCPtrPage));
     1992    Log(("pgmPoolResetDirtyPage %RGv\n", GCPtrPage)); RT_NOREF_PV(GCPtrPage);
    19931993    for (unsigned i = 0; i < RT_ELEMENTS(pPool->aDirtyPages); i++)
    19941994    {
     
    29142914    PPGMPOOLUSER paUsers = pPool->CTX_SUFF(paUsers);
    29152915
    2916     LogFlow(("pgmPoolTrackInsert GCPhys=%RGp iUser=%d iUserTable=%x\n", GCPhys, iUser, iUserTable));
     2916    LogFlow(("pgmPoolTrackInsert GCPhys=%RGp iUser=%d iUserTable=%x\n", GCPhys, iUser, iUserTable)); RT_NOREF_PV(GCPhys);
    29172917
    29182918    if (iUser != NIL_PGMPOOL_IDX)
     
    38523852
    38533853    /* Safety precaution in case we change the paging for other modes too in the future. */
    3854     Assert(!pgmPoolIsPageLocked(pPage));
     3854    Assert(!pgmPoolIsPageLocked(pPage)); RT_NOREF_PV(pPage);
    38553855
    38563856#ifdef VBOX_STRICT
  • trunk/src/VBox/VMM/VMMAll/SELMAll.cpp

    r62601 r62606  
    9696    Assert(enmAccessType == PGMACCESSTYPE_WRITE); NOREF(enmAccessType);
    9797    Log(("selmGuestLDTWriteHandler: write to %RGv size %d\n", GCPtr, cbBuf)); NOREF(GCPtr); NOREF(cbBuf);
    98     NOREF(pvPtr); NOREF(pvBuf); NOREF(enmOrigin); NOREF(pvUser);
     98    NOREF(pvPtr); NOREF(pvBuf); NOREF(enmOrigin); NOREF(pvUser); RT_NOREF_PV(pVM);
    9999
    100100    VMCPU_FF_SET(pVCpu, VMCPU_FF_SELM_SYNC_LDT);
     
    586586{
    587587    Assert(!HMIsEnabled(pVCpu->CTX_SUFF(pVM)));
    588     RT_NOREF_PV(pCtx);
     588    RT_NOREF_PV(pCtx); RT_NOREF_PV(Sel);
    589589
    590590    /*
  • trunk/src/VBox/VMM/VMMAll/TRPMAll.cpp

    r62478 r62606  
    5656    Assert(enmAccessType == PGMACCESSTYPE_WRITE); NOREF(enmAccessType);
    5757    Log(("trpmGuestIDTWriteHandler: write to %RGv size %d\n", GCPtr, cbBuf)); NOREF(GCPtr); NOREF(cbBuf);
    58     NOREF(pvPtr); NOREF(pvUser); NOREF(pvBuf); NOREF(enmOrigin); NOREF(pvUser);
     58    NOREF(pvPtr); NOREF(pvUser); NOREF(pvBuf); NOREF(enmOrigin); NOREF(pvUser); RT_NOREF_PV(pVM);
    5959    Assert(!HMIsEnabled(pVM));
    6060
  • trunk/src/VBox/VMM/VMMR0/HMSVMR0.cpp

    r62601 r62606  
    21862186static DECLCALLBACK(int) hmR0SvmCallRing3Callback(PVMCPU pVCpu, VMMCALLRING3 enmOperation, void *pvUser)
    21872187{
     2188    RT_NOREF_PV(pvUser);
     2189
    21882190    if (enmOperation == VMMCALLRING3_VM_R0_ASSERTION)
    21892191    {
  • trunk/src/VBox/VMM/VMMR0/HMVMXR0.cpp

    r62601 r62606  
    33823382{
    33833383    Assert(!(u32TprThreshold & 0xfffffff0));         /* Bits 31:4 MBZ. */
    3384     Assert(pVCpu->hm.s.vmx.u32ProcCtls & VMX_VMCS_CTRL_PROC_EXEC_USE_TPR_SHADOW);
     3384    Assert(pVCpu->hm.s.vmx.u32ProcCtls & VMX_VMCS_CTRL_PROC_EXEC_USE_TPR_SHADOW); RT_NOREF_PV(pVCpu);
    33853385    return VMXWriteVmcs32(VMX_VMCS32_CTRL_TPR_THRESHOLD, u32TprThreshold);
    33863386}
  • trunk/src/VBox/VMM/VMMRC/PATMRC.cpp

    r62478 r62606  
    5353                                                 RTGCPTR pvFault, RTGCPTR pvRange, uintptr_t offRange, void *pvUser)
    5454{
    55     NOREF(pVCpu); NOREF(uErrorCode); NOREF(pCtxCore); NOREF(pvFault); NOREF(pvRange); NOREF(offRange);
     55    NOREF(pVCpu); NOREF(uErrorCode); NOREF(pCtxCore); NOREF(pvFault); NOREF(pvRange); NOREF(offRange); RT_NOREF_PV(pvUser);
    5656
    5757    Assert(pvUser);
  • trunk/src/VBox/VMM/VMMRC/TRPMRCHandlers.cpp

    r62603 r62606  
    459459    RTLogComPrintf("TRPMGCHyperTrap02Handler: cs:eip=%04x:%08x\n", pRegFrame->cs.Sel, pRegFrame->eip);
    460460#endif
    461     NOREF(pTrpmCpu);
     461    NOREF(pTrpmCpu); RT_NOREF_PV(pRegFrame);
    462462    return VERR_TRPM_DONT_PANIC;
    463463}
     
    14261426DECLCALLBACK(int) trpmRCTrapInGeneric(PVM pVM, PCPUMCTXCORE pRegFrame, uintptr_t uUser)
    14271427{
     1428    RT_NOREF_PV(pRegFrame);
    14281429    Log(("********************************************************\n"));
    14291430    Log(("trpmRCTrapInGeneric: eip=%RX32 uUser=%#x\n", pRegFrame->eip, uUser));
  • trunk/src/VBox/VMM/VMMRZ/PGMRZDynMap.cpp

    r62478 r62606  
    13511351static uint32_t pgmR0DynMapPageSlow(PPGMRZDYNMAP pThis, RTHCPHYS HCPhys, uint32_t iPage, PVMCPU pVCpu, bool *pfNew)
    13521352{
    1353     STAM_COUNTER_INC(&pVCpu->pgm.s.CTX_SUFF(pStats)->StatRZDynMapPageSlow);
     1353    STAM_COUNTER_INC(&pVCpu->pgm.s.CTX_SUFF(pStats)->StatRZDynMapPageSlow); RT_NOREF_PV(pVCpu);
    13541354
    13551355    /*
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