VirtualBox

Changeset 67163 in vbox for trunk


Ignore:
Timestamp:
May 31, 2017 10:21:53 AM (8 years ago)
Author:
vboxsync
Message:

VMM/IEM: Temporary hack for toggling forcing of execution to continue in IEM.

Location:
trunk/src/VBox/VMM
Files:
3 edited

Legend:

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

    r67159 r67163  
    1491114911        rcStrict = pVCpu->iem.s.rcPassUp;
    1491214912    }
     14913#ifdef VBOX_WITH_NESTED_HWVIRT_ONLY_IN_IEM
     14914    else if (pVCpu->iem.s.fForceIemExec)
     14915        rcStrict = VINF_EM_RESCHEDULE_REM;
     14916#endif
    1491314917
    1491414918    return rcStrict;
  • trunk/src/VBox/VMM/VMMAll/IEMAllCImpl.cpp.h

    r67159 r67163  
    63686368    pCtx->hwvirt.svm.fGif = 0;
    63696369    iemRegAddToRipAndClearRF(pVCpu, cbInstr);
     6370#ifdef VBOX_WITH_NESTED_HWVIRT_ONLY_IN_IEM
     6371    pVCpu->iem.s.fForceIemExec = true;
     6372#endif
    63706373    return VINF_SUCCESS;
    63716374}
     
    63876390    pCtx->hwvirt.svm.fGif = 1;
    63886391    iemRegAddToRipAndClearRF(pVCpu, cbInstr);
     6392#ifdef VBOX_WITH_NESTED_HWVIRT_ONLY_IN_IEM
     6393    pVCpu->iem.s.fForceIemExec = false;
     6394#endif
    63896395    return VINF_SUCCESS;
    63906396}
  • trunk/src/VBox/VMM/include/IEMInternal.h

    r67072 r67163  
    673673    /** Number of long jumps. */
    674674    uint32_t                cLongJumps;
     675    /** Whether to force execution to continue in IEM. */
     676#ifdef VBOX_WITH_NESTED_HWVIRT_ONLY_IN_IEM
     677    uint8_t                 fForceIemExec;
     678    uint8_t                 uAlignment6[3]; /**< Alignment padding. */
     679#else
    675680    uint32_t                uAlignment6; /**< Alignment padding. */
     681#endif
    676682#ifdef IEM_VERIFICATION_MODE_FULL
    677683    /** The Number of I/O port reads that has been performed. */
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