VirtualBox

Changeset 73438 in vbox for trunk/src/VBox/VMM/VMMAll


Ignore:
Timestamp:
Aug 2, 2018 6:48:28 AM (7 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
124065
Message:

VMM/IEM: bugref:7243 Fix parameter usage in SVM helper macro.

File:
1 edited

Legend:

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

    r73203 r73438  
    385385        { \
    386386            Log((RT_STR(a_Instr) ": EFER.SVME not enabled -> #UD\n")); \
    387             return iemRaiseUndefinedOpcode(pVCpu); \
     387            return iemRaiseUndefinedOpcode(a_pVCpu); \
    388388        } \
    389         if (IEM_IS_REAL_OR_V86_MODE(pVCpu)) \
     389        if (IEM_IS_REAL_OR_V86_MODE(a_pVCpu)) \
    390390        { \
    391391            Log((RT_STR(a_Instr) ": Real or v8086 mode -> #UD\n")); \
    392             return iemRaiseUndefinedOpcode(pVCpu); \
     392            return iemRaiseUndefinedOpcode(a_pVCpu); \
    393393        } \
    394         if (pVCpu->iem.s.uCpl != 0) \
     394        if ((a_pVCpu)->iem.s.uCpl != 0) \
    395395        { \
    396396            Log((RT_STR(a_Instr) ": CPL != 0 -> #GP(0)\n")); \
    397             return iemRaiseGeneralProtectionFault0(pVCpu); \
     397            return iemRaiseGeneralProtectionFault0(a_pVCpu); \
    398398        } \
    399399    } while (0)
Note: See TracChangeset for help on using the changeset viewer.

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