VirtualBox

Changeset 49513 in vbox for trunk/src/VBox


Ignore:
Timestamp:
Nov 15, 2013 4:49:25 PM (11 years ago)
Author:
vboxsync
Message:

VMM/HMSVMR0: warnings.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/VMM/VMMR0/HMSVMR0.cpp

    r49512 r49513  
    16531653    Assert(pVM->hm.s.svm.fSupported);
    16541654    Assert(!RTThreadPreemptIsEnabled(NIL_RTTHREAD));
    1655     NOREF(pCpu);
     1655    NOREF(pVM); NOREF(pCpu);
    16561656
    16571657    LogFlowFunc(("pVM=%p pVCpu=%p\n", pVM, pVCpu));
     
    22552255DECLINLINE(void) hmR0SvmInjectEventVmcb(PVMCPU pVCpu, PSVMVMCB pVmcb, PCPUMCTX pCtx, PSVMEVENT pEvent)
    22562256{
    2257     NOREF(pCtx);
     2257    NOREF(pVCpu); NOREF(pCtx);
    22582258
    22592259    pVmcb->ctrl.EventInject.u = pEvent->u;
     
    25662566    /* Update the guest interrupt shadow in the VMCB. */
    25672567    pVmcb->ctrl.u64IntShadow = !!fIntShadow;
     2568    NOREF(fBlockInt);
    25682569}
    25692570
     
    25812582static void hmR0SvmReportWorldSwitchError(PVM pVM, PVMCPU pVCpu, int rcVMRun, PCPUMCTX pCtx)
    25822583{
     2584    NOREF(pCtx);
    25832585    HMSVM_ASSERT_PREEMPT_SAFE();
    25842586    PSVMVMCB pVmcb = (PSVMVMCB)pVCpu->hm.s.svm.pvVmcb;
     
    25862588    if (rcVMRun == VERR_SVM_INVALID_GUEST_STATE)
    25872589    {
    2588         HMDumpRegs(pVM, pVCpu, pCtx);
     2590        HMDumpRegs(pVM, pVCpu, pCtx); NOREF(pVM);
    25892591#ifdef VBOX_STRICT
    25902592        Log4(("ctrl.u64VmcbCleanBits             %#RX64\n",   pVmcb->ctrl.u64VmcbCleanBits));
     
    27022704        Log4(("guest.u64LASTEXCPFROM             %#RX64\n",   pVmcb->guest.u64LASTEXCPFROM));
    27032705        Log4(("guest.u64LASTEXCPTO               %#RX64\n",   pVmcb->guest.u64LASTEXCPTO));
    2704 #endif
     2706#else
     2707        NOREF(pVmcb);
     2708#endif  /* VBOX_STRICT */
    27052709    }
    27062710    else
     
    35513555    } while (0)
    35523556#else   /* Release builds */
    3553 # define HMSVM_VALIDATE_EXIT_HANDLER_PARAMS() do { } while (0)
     3557# define HMSVM_VALIDATE_EXIT_HANDLER_PARAMS() do { NOREF(pVCpu); NOREF(pCtx); NOREF(pSvmTransient); } while (0)
    35543558#endif
    35553559
     
    39563960    }
    39573961    Assert(rc == VINF_SUCCESS || rc == VINF_HM_DOUBLE_FAULT || rc == VINF_EM_RESET);
     3962    NOREF(pCtx);
    39583963    return rc;
    39593964}
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