VirtualBox

Changeset 49481 in vbox for trunk/src/VBox


Ignore:
Timestamp:
Nov 14, 2013 3:18:56 PM (11 years ago)
Author:
vboxsync
Message:

VMM: Warnings.

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

Legend:

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

    r48442 r49481  
    190190    pVCpu->em.s.MWait.fWait |= EMMWAIT_FLAG_MONITOR_ACTIVE;
    191191    /** @todo Make use of GCPhys. */
     192    NOREF(GCPhys);
    192193    /** @todo Complete MONITOR implementation.  */
    193194    return VINF_SUCCESS;
     
    419420DECLINLINE(int) emDisCoreOne(PVM pVM, PVMCPU pVCpu, PDISCPUSTATE pDis, RTGCUINTPTR InstrGC, uint32_t *pOpsize)
    420421{
     422    NOREF(pVM);
    421423    return DISInstrWithReader(InstrGC, (DISCPUMODE)pDis->uCpuMode, emReadBytes, pVCpu, pDis, pOpsize);
    422424}
     
    472474                                        PDISCPUSTATE pDis, unsigned *pcbInstr)
    473475{
     476    NOREF(pVM);
    474477    Assert(pCtxCore == CPUMGetGuestCtxCore(pVCpu));
    475478    DISCPUMODE enmCpuMode = CPUMGetGuestDisMode(pVCpu);
     
    33523355static int emInterpretSmsw(PVM pVM, PVMCPU pVCpu, PDISCPUSTATE pDis, PCPUMCTXCORE pRegFrame, RTGCPTR pvFault, uint32_t *pcbSize)
    33533356{
     3357    NOREF(pvFault); NOREF(pcbSize);
    33543358    DISQPVPARAMVAL param1;
    33553359    uint64_t    cr0 = CPUMGetGuestCR0(pVCpu);
  • trunk/src/VBox/VMM/VMMR0/GMMR0.cpp

    r44716 r49481  
    47804780                                               PGMMSHAREDPAGEDESC pPageDesc, PGMMSHAREDREGIONDESC pGlobalRegion)
    47814781{
     4782    NOREF(pModule);
     4783
    47824784    /* Easy case: just change the internal page type. */
    47834785    PGMMPAGE pPage = gmmR0GetPage(pGMM, pPageDesc->idPage);
     
    53885390GMMR0DECL(int) GMMR0ResetStatistics(PCGMMSTATS pStats, PSUPDRVSESSION pSession, PVM pVM)
    53895391{
     5392    NOREF(pStats); NOREF(pSession); NOREF(pVM);
    53905393    /* Currently nothing we can reset at the moment. */
    53915394    return VINF_SUCCESS;
  • trunk/src/VBox/VMM/VMMR0/HMSVMR0.cpp

    r49404 r49481  
    14141414    }
    14151415
    1416     PVM pVM = pVCpu->CTX_SUFF(pVM);
    1417     if (fStepping || (CPUMGetHyperDR7(pVCpu) & X86_DR7_ENABLED_MASK))
     1416    if (   fStepping
     1417        || (CPUMGetHyperDR7(pVCpu) & X86_DR7_ENABLED_MASK))
    14181418    {
    14191419        /*
     
    16731673VMMR0DECL(void) SVMR0ThreadCtxCallback(RTTHREADCTXEVENT enmEvent, PVMCPU pVCpu, bool fGlobalInit)
    16741674{
     1675    NOREF(fGlobalInit);
     1676
    16751677    switch (enmEvent)
    16761678    {
     
    20942096DECLCALLBACK(int) hmR0SvmCallRing3Callback(PVMCPU pVCpu, VMMCALLRING3 enmOperation, void *pvUser)
    20952097{
     2098    NOREF(enmOperation);
     2099
    20962100    /* VMMRZCallRing3() already makes sure we never get called as a result of an longjmp due to an assertion, */
    20972101    Assert(pVCpu);
     
    22512255DECLINLINE(void) hmR0SvmInjectEventVmcb(PVMCPU pVCpu, PSVMVMCB pVmcb, PCPUMCTX pCtx, PSVMEVENT pEvent)
    22522256{
     2257    NOREF(pCtx);
     2258
    22532259    pVmcb->ctrl.EventInject.u = pEvent->u;
    22542260    STAM_COUNTER_INC(&pVCpu->hm.s.paStatInjectedIrqsR0[pEvent->n.u8Vector & MASK_INJECT_IRQ_STAT]);
     
    30973103 * @param   pVM         Pointer to the VM.
    30983104 * @param   pVCpu       Pointer to the VMCPU.
    3099  * @param   pCtx        Pointer to the guest-CPU context.
    3100  */
    3101 static int hmR0SvmRunGuestCodeNormal(PVM pVM, PVMCPU pVCpu, PCPUMCTX pCtx, PSVMVMCB pVmcb)
     3105 */
     3106static int hmR0SvmRunGuestCodeNormal(PVM pVM, PVMCPU pVCpu, PCPUMCTX pCtx)
    31023107{
    31033108    SVMTRANSIENT SvmTransient;
     
    31673172 * @param   pVCpu       Pointer to the VMCPU.
    31683173 * @param   pCtx        Pointer to the guest-CPU context.
    3169  * @param   pVmcb       Pointer to the VM control block.
    3170  */
    3171 static int hmR0SvmRunGuestCodeStep(PVM pVM, PVMCPU pVCpu, PCPUMCTX pCtx, PSVMVMCB pVmcb)
     3174 */
     3175static int hmR0SvmRunGuestCodeStep(PVM pVM, PVMCPU pVCpu, PCPUMCTX pCtx)
    31723176{
    31733177    SVMTRANSIENT SvmTransient;
     
    32743278
    32753279    int rc;
    3276     PSVMVMCB pVmcb = (PSVMVMCB)pVCpu->hm.s.svm.pvVmcb;
    32773280    if (!pVCpu->hm.s.fSingleInstruction && !DBGFIsStepping(pVCpu))
    3278         rc = hmR0SvmRunGuestCodeNormal(pVM, pVCpu, pCtx, pVmcb);
     3281        rc = hmR0SvmRunGuestCodeNormal(pVM, pVCpu, pCtx);
    32793282    else
    3280         rc = hmR0SvmRunGuestCodeStep(pVM, pVCpu, pCtx, pVmcb);
     3283        rc = hmR0SvmRunGuestCodeStep(pVM, pVCpu, pCtx);
    32813284
    32823285    if (rc == VERR_EM_INTERPRETER)
  • trunk/src/VBox/VMM/VMMR0/VMMR0.cpp

    r49215 r49481  
    228228DECLEXPORT(void) ModuleTerm(void *hMod)
    229229{
     230    NOREF(hMod);
    230231    LogFlow(("ModuleTerm:\n"));
    231232
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