VirtualBox

Changeset 56064 in vbox for trunk/src/VBox/VMM/VMMR3/EM.cpp


Ignore:
Timestamp:
May 25, 2015 4:09:01 PM (10 years ago)
Author:
vboxsync
Message:

Committed the VBOX_WITH_FIRST_IEM_STEP code, removing the #else cases.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/VMM/VMMR3/EM.cpp

    r55036 r56064  
    387387
    388388        EM_REG_COUNTER_USED(&pStats->StatIoRestarted,            "/EM/CPU%d/R3/PrivInst/IoRestarted",        "I/O instructions restarted in ring-3.");
    389 # ifdef VBOX_WITH_FIRST_IEM_STEP
    390389        EM_REG_COUNTER_USED(&pStats->StatIoIem,                  "/EM/CPU%d/R3/PrivInst/IoIem",              "I/O instructions end to IEM in ring-3.");
    391 # else
    392         EM_REG_COUNTER_USED(&pStats->StatIn,                     "/EM/CPU%d/R3/PrivInst/In",                 "Number of in instructions.");
    393         EM_REG_COUNTER_USED(&pStats->StatOut,                    "/EM/CPU%d/R3/PrivInst/Out",                "Number of out instructions.");
    394 # endif
    395390        EM_REG_COUNTER_USED(&pStats->StatCli,                    "/EM/CPU%d/R3/PrivInst/Cli",                "Number of cli instructions.");
    396391        EM_REG_COUNTER_USED(&pStats->StatSti,                    "/EM/CPU%d/R3/PrivInst/Sti",                "Number of sli instructions.");
     
    13661361         *       turns off monitoring features essential for raw mode!
    13671362         */
    1368 #ifdef VBOX_WITH_FIRST_IEM_STEP
    13691363        return EMSTATE_IEM_THEN_REM;
    1370 #else
    1371         return EMSTATE_REM;
    1372 #endif
    13731364    }
    13741365
     
    22152206                 */
    22162207                case VINF_EM_RESCHEDULE_REM:
    2217 #ifdef VBOX_WITH_FIRST_IEM_STEP
    22182208                    Assert(!pVM->em.s.fIemExecutesAll || pVCpu->em.s.enmState != EMSTATE_IEM);
    22192209                    if (HMIsEnabled(pVM))
     
    22322222                        pVCpu->em.s.enmState = EMSTATE_REM;
    22332223                    }
    2234 #else
    2235                     Log2(("EMR3ExecuteVM: VINF_EM_RESCHEDULE_REM: %d -> %d (EMSTATE_REM)\n", enmOldState, EMSTATE_REM));
    2236                     Assert(!pVM->em.s.fIemExecutesAll || pVCpu->em.s.enmState != EMSTATE_IEM);
    2237                     pVCpu->em.s.enmState = EMSTATE_REM;
    2238 #endif
    22392224                    break;
    22402225
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