VirtualBox

Changeset 62651 in vbox for trunk/src/VBox/VMM/VMMR3


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

VMMR3: warnings

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/VMM/VMMR3/PATM.cpp

    r62649 r62651  
    123123static int               patmReinit(PVM pVM);
    124124static DECLCALLBACK(int) patmR3RelocatePatches(PAVLOU32NODECORE pNode, void *pParam);
     125#ifdef PATM_RESOLVE_CONFLICTS_WITH_JUMP_PATCHES
    125126static RTRCPTR      patmR3GuestGCPtrToPatchGCPtrSimple(PVM pVM, RCPTRTYPE(uint8_t*) pInstrGC);
     127#endif
    126128static int          patmR3MarkDirtyPatch(PVM pVM, PPATCHINFO pPatch);
    127129
     
    32163218    patmr3DisasmCodeStream(pVM, PATCHCODE_PTR_GC(pPatch), PATCHCODE_PTR_GC(pPatch), patmR3DisasmCallback, pCacheRec);
    32173219    Log(("Patch code ends -----------------------------------------------------\n"));
     3220#else
     3221    RT_NOREF_PV(pCacheRec);
    32183222#endif
    32193223    PATM_LOG_ORG_PATCH_INSTR(pVM, pPatch, "TRAP handler");
     
    39363940    uint8_t cbASMInt3 = 1;
    39373941    int rc;
     3942    RT_NOREF_PV(pInstrHC);
    39383943
    39393944    /* Note: Do not use patch memory here! It might called during patch installation too. */
     
    41014106{
    41024107    Assert(pInstrGC);
    4103     Assert(flags == PATMFL_CODE32);
     4108    Assert(flags == PATMFL_CODE32); RT_NOREF_PV(flags);
    41044109
    41054110    Log(("PATMR3AddHint %RRv\n", pInstrGC));
     
    54225427        }
    54235428    }
     5429#else
     5430    RT_NOREF_PV(pInstrGC);
    54245431#endif
    54255432
     
    60236030}
    60246031
     6032#ifdef PATM_RESOLVE_CONFLICTS_WITH_JUMP_PATCHES
    60256033/**
    60266034 * Converts Guest code GC ptr to Patch code GC ptr (if found)
     
    60376045    return NIL_RTRCPTR;
    60386046}
     6047#endif
    60396048
    60406049/**
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