VirtualBox

Changeset 62423 in vbox for trunk/src/VBox/VMM


Ignore:
Timestamp:
Jul 22, 2016 11:15:45 AM (9 years ago)
Author:
vboxsync
Message:

emReadBytes: MSC level 4 warning.

File:
1 edited

Legend:

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

    r62291 r62423  
    341341{
    342342    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))
    344344    PVM         pVM      = pVCpu->CTX_SUFF(pVM);
    345345#endif
     
    360360     * We might be called upon to interpret an instruction in a patch.
    361361     */
    362     if (PATMIsPatchGCAddr(pVCpu->CTX_SUFF(pVM), uSrcAddr))
     362    if (PATMIsPatchGCAddr(pVM, uSrcAddr))
    363363    {
    364364# ifdef IN_RC
    365365        memcpy(&pDis->abInstr[offInstr], (void *)(uintptr_t)uSrcAddr, cbToRead);
    366366# else
    367         memcpy(&pDis->abInstr[offInstr], PATMR3GCPtrToHCPtr(pVCpu->CTX_SUFF(pVM), uSrcAddr), cbToRead);
     367        memcpy(&pDis->abInstr[offInstr], PATMR3GCPtrToHCPtr(pVM, uSrcAddr), cbToRead);
    368368# endif
    369369        rc = VINF_SUCCESS;
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