VirtualBox

Changeset 62603 in vbox for trunk


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

VMM: Unused parameters.

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

Legend:

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

    r62601 r62603  
    70247024 * Worker routine for raising an FPU stack underflow exception.
    70257025 *
    7026  * @param   pVCpu               The cross context virtual CPU structure of the calling thread.
    70277026 * @param   pFpuCtx             The FPU context.
    70287027 * @param   iStReg              The stack register being accessed.
  • trunk/src/VBox/VMM/VMMRC/CPUMRC.cpp

    r62478 r62603  
    7575    }
    7676
    77     AssertMsgFailed(("uUser=%#x eip=%#x\n", uUser, pRegFrame->eip));
     77    AssertMsgFailed(("uUser=%#x eip=%#x\n", uUser, pRegFrame->eip)); RT_NOREF_PV(pRegFrame);
    7878    return VERR_TRPM_DONT_PANIC;
    7979}
     
    108108    AssertMsg(CPUMIsGuestInRawMode(pVCpu),           ("cs:eip=%04x:%08x ss:esp=%04x:%08x cpl=%u raw/efl=%#x/%#x%s\n", pCtx->cs.Sel, pCtx->eip, pCtx->ss.Sel, pCtx->esp, uRawCpl, u32EFlags, pCtx->eflags.u, fPatch ? " patch" : ""));
    109109    //Log2(("cs:eip=%04x:%08x ss:esp=%04x:%08x cpl=%u raw/efl=%#x/%#x%s\n", pCtx->cs.Sel, pCtx->eip, pCtx->ss.Sel, pCtx->esp, uRawCpl, u32EFlags, pCtx->eflags.u, fPatch ? " patch" : ""));
     110#else
     111    RT_NOREF_PV(pVM);
    110112#endif
    111113}
  • trunk/src/VBox/VMM/VMMRC/IOMRC.cpp

    r62601 r62603  
    8282static VBOXSTRICTRC iomRCInterpretIN(PVM pVM, PVMCPU pVCpu, PCPUMCTXCORE pRegFrame, PDISCPUSTATE pCpu)
    8383{
    84     STAM_COUNTER_INC(&pVM->iom.s.StatInstIn);
     84    STAM_COUNTER_INC(&pVM->iom.s.StatInstIn); RT_NOREF_PV(pVM);
    8585    Assert(pCpu->Param2.fUse & (DISUSE_IMMEDIATE8 | DISUSE_REG_GEN16));
    8686    uint16_t u16Port = pCpu->Param2.fUse & DISUSE_REG_GEN16 ? pRegFrame->dx : (uint16_t)pCpu->Param2.uValue;
     
    114114static VBOXSTRICTRC iomRCInterpretOUT(PVM pVM, PVMCPU pVCpu, PCPUMCTXCORE pRegFrame, PDISCPUSTATE pCpu)
    115115{
    116     STAM_COUNTER_INC(&pVM->iom.s.StatInstOut);
     116    STAM_COUNTER_INC(&pVM->iom.s.StatInstOut); RT_NOREF_PV(pVM);
    117117    Assert(pCpu->Param1.fUse & (DISUSE_IMMEDIATE8 | DISUSE_REG_GEN16));
    118118    uint16_t const u16Port = pCpu->Param1.fUse & DISUSE_REG_GEN16 ? pRegFrame->dx : (uint16_t)pCpu->Param1.uValue;
  • trunk/src/VBox/VMM/VMMRC/PDMRCDevice.cpp

    r62478 r62603  
    879879static DECLCALLBACK(bool) pdmRCDrvHlp_AssertEMT(PPDMDRVINS pDrvIns, const char *pszFile, unsigned iLine, const char *pszFunction)
    880880{
    881     PDMDRV_ASSERT_DRVINS(pDrvIns);
     881    PDMDRV_ASSERT_DRVINS(pDrvIns); RT_NOREF_PV(pDrvIns);
    882882    if (VM_IS_EMT(pDrvIns->Internal.s.pVMRC))
    883883        return true;
     
    892892static DECLCALLBACK(bool) pdmRCDrvHlp_AssertOther(PPDMDRVINS pDrvIns, const char *pszFile, unsigned iLine, const char *pszFunction)
    893893{
    894     PDMDRV_ASSERT_DRVINS(pDrvIns);
     894    PDMDRV_ASSERT_DRVINS(pDrvIns); RT_NOREF_PV(pDrvIns);
    895895    if (!VM_IS_EMT(pDrvIns->Internal.s.pVMRC))
    896896        return true;
     
    900900    RTAssertMsg1Weak("AssertOther", iLine, pszFile, pszFunction);
    901901    RTAssertPanic();
     902    RT_NOREF_PV(pszFile); RT_NOREF_PV(iLine); RT_NOREF_PV(pszFunction);
    902903    return false;
    903904}
  • trunk/src/VBox/VMM/VMMRC/SELMRC.cpp

    r62478 r62603  
    309309{
    310310    LogFlow(("selmRCGuestGDTWritePfHandler errcode=%x fault=%RGv offRange=%08x\n", (uint32_t)uErrorCode, pvFault, offRange));
    311     NOREF(pvRange); NOREF(pvUser);
     311    NOREF(pvRange); NOREF(pvUser); RT_NOREF_PV(uErrorCode);
    312312
    313313    /*
     
    352352
    353353    VMCPU_FF_SET(pVCpu, VMCPU_FF_SELM_SYNC_LDT);
    354     STAM_COUNTER_INC(&pVM->selm.s.StatRCWriteGuestLDT);
     354    STAM_COUNTER_INC(&pVM->selm.s.StatRCWriteGuestLDT); RT_NOREF_PV(pVM);
    355355    return VINF_EM_RAW_EMULATE_INSTR_LDT_FAULT;
    356356}
     
    521521{
    522522    LogFlow(("selmRCGuestTSSWritePfHandler errcode=%x fault=%RGv offRange=%08x\n", (uint32_t)uErrorCode, pvFault, offRange));
    523     NOREF(pvRange); NOREF(pvUser);
     523    NOREF(pvRange); NOREF(pvUser); RT_NOREF_PV(uErrorCode);
    524524
    525525    /*
  • trunk/src/VBox/VMM/VMMRC/TRPMRC.cpp

    r62478 r62603  
    103103#endif
    104104    uint32_t    iGate       = ((RTGCUINTPTR)pvFault - (RTGCUINTPTR)GCPtrIDT)/sizeof(VBOXIDTE);
     105    RT_NOREF_PV(offRange); RT_NOREF_PV(pvRange); RT_NOREF_PV(pRegFrame); RT_NOREF_PV(pVM);
    105106
    106107    AssertMsg(offRange < (uint32_t)cbIDT+1, ("pvFault=%RGv GCPtrIDT=%RGv-%RGv pvRange=%RGv\n", pvFault, GCPtrIDT, GCPtrIDTEnd, pvRange));
  • trunk/src/VBox/VMM/VMMRC/TRPMRCHandlers.cpp

    r62478 r62603  
    433433    RTLogComPrintf("TRPMGCTrap02Handler: cs:eip=%04x:%08x\n", pRegFrame->cs.Sel, pRegFrame->eip);
    434434#endif
    435     NOREF(pTrpmCpu);
     435    NOREF(pTrpmCpu); RT_NOREF_PV(pRegFrame);
    436436    return VERR_TRPM_DONT_PANIC;
    437437}
  • trunk/src/VBox/VMM/include/PGMInline.h

    r62478 r62603  
    435435        Assert(pPage->idx < pVM->pgm.s.CTX_SUFF(pPool)->cCurPages);
    436436        void *pv;
    437         Assert(pVCpu == VMMGetCpu(pVM));
     437        Assert(pVCpu == VMMGetCpu(pVM)); RT_NOREF_PV(pVM);
    438438        pgmRZDynMapHCPageInlined(pVCpu, pPage->Core.Key, &pv RTLOG_COMMA_SRC_POS_ARGS);
    439439        return pv;
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