VirtualBox

Changeset 62653 in vbox for trunk/src/VBox/VMM


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

VMMR3: warnings

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

Legend:

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

    r62601 r62653  
    180180    const uint16_t   uHyperOp         = GIM_HV_HYPERCALL_IN_CALL_CODE(uHyperIn);
    181181    const bool       fHyperFast       = GIM_HV_HYPERCALL_IN_IS_FAST(uHyperIn);
    182     const uint16_t   cHyperReps       = GIM_HV_HYPERCALL_IN_REP_COUNT(uHyperIn);
    183     const uint16_t   idxHyperRepStart = GIM_HV_HYPERCALL_IN_REP_START_IDX(uHyperIn);
     182    /*const uint16_t   cHyperReps       = GIM_HV_HYPERCALL_IN_REP_COUNT(uHyperIn); - unused */
     183    /*const uint16_t   idxHyperRepStart = GIM_HV_HYPERCALL_IN_REP_START_IDX(uHyperIn); - unused */
    184184    uint64_t         cHyperRepsDone   = 0;
    185185
  • trunk/src/VBox/VMM/VMMAll/GIMAllKvm.cpp

    r62478 r62653  
    275275
    276276            /* Is the system-time struct. already enabled? If so, get flags that need preserving. */
    277             uint8_t fFlags = 0;
     277            /*uint8_t fFlags = 0; - unused */
    278278            GIMKVMSYSTEMTIME SystemTime;
    279279            RT_ZERO(SystemTime);
  • trunk/src/VBox/VMM/VMMAll/IOMAllMMIO.cpp

    r62601 r62653  
    9494                                              void const *pvValue, unsigned cbValue)
    9595{
     96    RT_NOREF_PV(pVCpu);
    9697    AssertReturn(   (pRange->fFlags & IOMMMIO_FLAGS_WRITE_MODE) != IOMMMIO_FLAGS_WRITE_PASSTHRU
    9798                 && (pRange->fFlags & IOMMMIO_FLAGS_WRITE_MODE) <= IOMMMIO_FLAGS_WRITE_DWORD_QWORD_READ_MISSING,
     
    598599                                           RTGCPHYS GCPhysFault, void *pvUser)
    599600{
     601    RT_NOREF_PV(uErrorCode);
    600602    int rc = IOM_LOCK_SHARED(pVM);
    601603#ifndef IN_RING3
  • trunk/src/VBox/VMM/VMMAll/PDMAllCritSectRw.cpp

    r62478 r62653  
    160160    NOREF(pSrcPos);
    161161    NOREF(fNoVal);
     162#endif
     163#ifdef IN_RING3
     164    NOREF(rcBusy);
    162165#endif
    163166
     
    710713    NOREF(pSrcPos);
    711714    NOREF(fNoVal);
     715#endif
     716#ifdef IN_RING3
     717    NOREF(rcBusy);
    712718#endif
    713719
  • trunk/src/VBox/VMM/VMMAll/SELMAll.cpp

    r62606 r62653  
    6464
    6565#  ifdef IN_RING3
     66    RT_NOREF_PV(pVM);
     67
    6668    VMCPU_FF_SET(pVCpu, VMCPU_FF_SELM_SYNC_GDT);
    6769    return VINF_PGM_HANDLER_DO_DEFAULT;
     
    122124
    123125#  ifdef IN_RING3
     126    RT_NOREF_PV(pVM);
     127
    124128    /** @todo This can be optimized by checking for the ESP0 offset and tracking TR
    125129     *        reloads in REM (setting VM_FF_SELM_SYNC_TSS if TR is reloaded). We
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