VirtualBox

儲存庫 vbox 的更動 62647


忽略:
時間撮記:
2016-7-28 下午10:02:27 (8 年 以前)
作者:
vboxsync
訊息:

VMMR3: warnings

位置:
trunk/src/VBox/VMM/VMMR3
檔案:
修改 7 筆資料

圖例:

未更動
新增
刪除
  • trunk/src/VBox/VMM/VMMR3/CSAM.cpp

    r62478 r62647  
    22712271    Log(("CSAMR3UnmonitorPage %RRv %d\n", pPageAddrGC, enmTag));
    22722272
    2273     Assert(enmTag == CSAM_TAG_REM);
     2273    Assert(enmTag == CSAM_TAG_REM); RT_NOREF_PV(enmTag);
    22742274
    22752275#ifdef VBOX_STRICT
     
    23462346}
    23472347
     2348#if 0 /* Unused */
    23482349/**
    23492350 * Callback for delayed writes from non-EMT threads
     
    23582359    AssertRC(rc);
    23592360}
     2361#endif
    23602362
    23612363/**
     
    23722374static DECLCALLBACK(int) csamR3CodePageInvalidate(PVM pVM, PVMCPU pVCpu, RTGCPTR GCPtr, void *pvUser)
    23732375{
     2376    RT_NOREF2(pVCpu, pvUser);
     2377
    23742378    g_fInCsamR3CodePageInvalidate = true;
    23752379    LogFlow(("csamR3CodePageInvalidate %RGv\n", GCPtr));
     
    23772381    csamFlushPage(pVM, GCPtr, false /* don't remove page! */);
    23782382    g_fInCsamR3CodePageInvalidate = false;
     2383
    23792384    return VINF_SUCCESS;
    23802385}
  • trunk/src/VBox/VMM/VMMR3/HM.cpp

    r62478 r62647  
    17751775VMMR3_INT_DECL(void) HMR3PagingModeChanged(PVM pVM, PVMCPU pVCpu, PGMMODE enmShadowMode, PGMMODE enmGuestMode)
    17761776{
     1777    RT_NOREF_PV(pVM);
     1778
    17771779    /* Ignore page mode changes during state loading. */
    17781780    if (VMR3GetState(pVCpu->pVMR3) == VMSTATE_LOADING)
     
    20412043{
    20422044    Log(("HMR3DisablePatching %RGv size %x\n", pPatchMem, cbPatchMem));
     2045    RT_NOREF2(pPatchMem, cbPatchMem);
    20432046
    20442047    Assert(pVM->hm.s.pGuestPatchMem == pPatchMem);
  • trunk/src/VBox/VMM/VMMR3/VM.cpp

    r62478 r62647  
    27132713    int rc = PGMR3CheckIntegrity(pVM);
    27142714    AssertReleaseRC(rc);
     2715#else
     2716    RT_NOREF_PV(pVM);
    27152717#endif
    27162718}
     
    32603262static bool vmR3ValidateStateTransition(VMSTATE enmStateOld, VMSTATE enmStateNew)
    32613263{
    3262 #ifdef VBOX_STRICT
     3264#ifndef VBOX_STRICT
     3265    RT_NOREF2(enmStateOld, enmStateNew);
     3266#else
    32633267    switch (enmStateOld)
    32643268    {
     
    35313535    RTCritSectEnter(&pUVM->vm.s.AtStateCritSect);
    35323536
     3537    RT_NOREF_PV(enmStateOld);
    35333538    AssertMsg(pVM->enmVMState == enmStateOld,
    35343539              ("%s != %s\n", VMR3GetStateName(pVM->enmVMState), VMR3GetStateName(enmStateOld)));
  • trunk/src/VBox/VMM/VMMR3/VMEmt.cpp

    r62478 r62647  
    6868 *
    6969 * @returns Thread exit code.
    70  * @param   ThreadSelf The handle to the executing thread.
     70 * @param   hThreadSelf The handle to the executing thread.
    7171 * @param   pUVCpu      Pointer to the user mode per-VCpu structure.
    7272 * @param   idCpu       The virtual CPU ID, for backtrace purposes.
    7373 */
    74 int vmR3EmulationThreadWithId(RTTHREAD ThreadSelf, PUVMCPU pUVCpu, VMCPUID idCpu)
     74int vmR3EmulationThreadWithId(RTTHREAD hThreadSelf, PUVMCPU pUVCpu, VMCPUID idCpu)
    7575{
    7676    PUVM    pUVM = pUVCpu->pUVM;
    7777    int     rc;
     78    RT_NOREF_PV(hThreadSelf);
    7879
    7980    AssertReleaseMsg(VALID_PTR(pUVM) && pUVM->u32Magic == UVM_MAGIC,
  • trunk/src/VBox/VMM/VMMR3/VMM.cpp

    r62478 r62647  
    446446static void vmmR3InitRegisterStats(PVM pVM)
    447447{
     448    RT_NOREF_PV(pVM);
     449
    448450    /*
    449451     * Statistics.
  • trunk/src/VBox/VMM/VMMR3/VMMTests.cpp

    r62478 r62647  
    559559        RTPrintf("VMM: profiling switcher...\n");
    560560        Log(("VMM: profiling switcher...\n"));
    561         uint64_t TickMin = ~0;
     561        uint64_t TickMin = UINT64_MAX;
    562562        tsBegin = RTTimeNanoTS();
    563563        TickStart = ASMReadTSC();
     
    701701        RTPrintf("VMM: profiling switcher...\n");
    702702        Log(("VMM: profiling switcher...\n"));
    703         uint64_t TickMin = ~0;
     703        uint64_t TickMin = UINT64_MAX;
    704704        uint64_t tsBegin = RTTimeNanoTS();
    705705        uint64_t TickStart = ASMReadTSC();
  • trunk/src/VBox/VMM/VMMR3/VMReq.cpp

    r62478 r62647  
    4141*   Internal Functions                                                                                                           *
    4242*********************************************************************************************************************************/
    43 static int  vmR3ReqProcessOneU(PUVM pUVM, PVMREQ pReq);
     43static int  vmR3ReqProcessOne(PVMREQ pReq);
    4444
    4545
     
    941941         */
    942942        pReq->enmState = VMREQSTATE_QUEUED;
    943         rc = vmR3ReqProcessOneU(pUVM, pReq);
     943        rc = vmR3ReqProcessOne(pReq);
    944944        LogFlow(("VMR3ReqQueue: returns %Rrc (processed)\n", rc));
    945945    }
     
    11681168         */
    11691169        STAM_COUNTER_INC(&pUVM->vm.s.StatReqProcessed);
    1170         int rc2 = vmR3ReqProcessOneU(pUVM, pReq);
     1170        int rc2 = vmR3ReqProcessOne(pReq);
    11711171        if (    rc2 >= VINF_EM_FIRST
    11721172            &&  rc2 <= VINF_EM_LAST)
     
    11871187 * @returns VBox status code.
    11881188 *
    1189  * @param   pUVM        The user mode VM structure.
    11901189 * @param   pReq        Request packet to process.
    11911190 */
    1192 static int  vmR3ReqProcessOneU(PUVM pUVM, PVMREQ pReq)
    1193 {
    1194     LogFlow(("vmR3ReqProcessOneU: pReq=%p type=%d fFlags=%#x\n", pReq, pReq->enmType, pReq->fFlags));
     1191static int  vmR3ReqProcessOne(PVMREQ pReq)
     1192{
     1193    LogFlow(("vmR3ReqProcessOne: pReq=%p type=%d fFlags=%#x\n", pReq, pReq->enmType, pReq->fFlags));
    11951194
    11961195    /*
     
    13121311    {
    13131312        /* Free the packet, nobody is waiting. */
    1314         LogFlow(("vmR3ReqProcessOneU: Completed request %p: rcReq=%Rrc rcRet=%Rrc - freeing it\n",
     1313        LogFlow(("vmR3ReqProcessOne: Completed request %p: rcReq=%Rrc rcRet=%Rrc - freeing it\n",
    13151314                 pReq, rcReq, rcRet));
    13161315        VMR3ReqFree(pReq);
     
    13191318    {
    13201319        /* Notify the waiter and him free up the packet. */
    1321         LogFlow(("vmR3ReqProcessOneU: Completed request %p: rcReq=%Rrc rcRet=%Rrc - notifying waiting thread\n",
     1320        LogFlow(("vmR3ReqProcessOne: Completed request %p: rcReq=%Rrc rcRet=%Rrc - notifying waiting thread\n",
    13221321                 pReq, rcReq, rcRet));
    13231322        ASMAtomicXchgSize(&pReq->fEventSemClear, false);
注意: 瀏覽 TracChangeset 來幫助您使用更動檢視器

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette