Changeset 62651 in vbox for trunk/src/VBox/VMM/VMMR3
- Timestamp:
- Jul 28, 2016 10:08:14 PM (8 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/VMM/VMMR3/PATM.cpp
r62649 r62651 123 123 static int patmReinit(PVM pVM); 124 124 static DECLCALLBACK(int) patmR3RelocatePatches(PAVLOU32NODECORE pNode, void *pParam); 125 #ifdef PATM_RESOLVE_CONFLICTS_WITH_JUMP_PATCHES 125 126 static RTRCPTR patmR3GuestGCPtrToPatchGCPtrSimple(PVM pVM, RCPTRTYPE(uint8_t*) pInstrGC); 127 #endif 126 128 static int patmR3MarkDirtyPatch(PVM pVM, PPATCHINFO pPatch); 127 129 … … 3216 3218 patmr3DisasmCodeStream(pVM, PATCHCODE_PTR_GC(pPatch), PATCHCODE_PTR_GC(pPatch), patmR3DisasmCallback, pCacheRec); 3217 3219 Log(("Patch code ends -----------------------------------------------------\n")); 3220 #else 3221 RT_NOREF_PV(pCacheRec); 3218 3222 #endif 3219 3223 PATM_LOG_ORG_PATCH_INSTR(pVM, pPatch, "TRAP handler"); … … 3936 3940 uint8_t cbASMInt3 = 1; 3937 3941 int rc; 3942 RT_NOREF_PV(pInstrHC); 3938 3943 3939 3944 /* Note: Do not use patch memory here! It might called during patch installation too. */ … … 4101 4106 { 4102 4107 Assert(pInstrGC); 4103 Assert(flags == PATMFL_CODE32); 4108 Assert(flags == PATMFL_CODE32); RT_NOREF_PV(flags); 4104 4109 4105 4110 Log(("PATMR3AddHint %RRv\n", pInstrGC)); … … 5422 5427 } 5423 5428 } 5429 #else 5430 RT_NOREF_PV(pInstrGC); 5424 5431 #endif 5425 5432 … … 6023 6030 } 6024 6031 6032 #ifdef PATM_RESOLVE_CONFLICTS_WITH_JUMP_PATCHES 6025 6033 /** 6026 6034 * Converts Guest code GC ptr to Patch code GC ptr (if found) … … 6037 6045 return NIL_RTRCPTR; 6038 6046 } 6047 #endif 6039 6048 6040 6049 /**
Note:
See TracChangeset
for help on using the changeset viewer.