Changeset 62423 in vbox for trunk/src/VBox/VMM
- Timestamp:
- Jul 22, 2016 11:15:45 AM (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/VMM/VMMAll/EMAll.cpp
r62291 r62423 341 341 { 342 342 PVMCPU pVCpu = (PVMCPU)pDis->pvUser; 343 #if defined( IN_RC) || defined(IN_RING3)343 #if defined(VBOX_WITH_RAW_MODE) && (defined(IN_RC) || defined(IN_RING3)) 344 344 PVM pVM = pVCpu->CTX_SUFF(pVM); 345 345 #endif … … 360 360 * We might be called upon to interpret an instruction in a patch. 361 361 */ 362 if (PATMIsPatchGCAddr(pV Cpu->CTX_SUFF(pVM), uSrcAddr))362 if (PATMIsPatchGCAddr(pVM, uSrcAddr)) 363 363 { 364 364 # ifdef IN_RC 365 365 memcpy(&pDis->abInstr[offInstr], (void *)(uintptr_t)uSrcAddr, cbToRead); 366 366 # else 367 memcpy(&pDis->abInstr[offInstr], PATMR3GCPtrToHCPtr(pV Cpu->CTX_SUFF(pVM), uSrcAddr), cbToRead);367 memcpy(&pDis->abInstr[offInstr], PATMR3GCPtrToHCPtr(pVM, uSrcAddr), cbToRead); 368 368 # endif 369 369 rc = VINF_SUCCESS;
Note:
See TracChangeset
for help on using the changeset viewer.