Changeset 61023 in vbox for trunk/src/VBox/VMM/VMMR3/EM.cpp
- Timestamp:
- May 18, 2016 7:20:26 AM (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/VMM/VMMR3/EM.cpp
r60907 r61023 1092 1092 #ifdef VBOX_WITH_REM 1093 1093 bool fInREMState = false; 1094 #else 1095 uint32_t cLoops = 0; 1094 1096 #endif 1095 1097 int rc = VINF_SUCCESS; … … 1222 1224 } 1223 1225 } 1226 1227 #ifndef VBOX_WITH_REM 1228 /* 1229 * Have to check if we can get back to fast execution mode every so often. 1230 */ 1231 if (!(++cLoops & 7)) 1232 { 1233 EMSTATE enmCheck = emR3Reschedule(pVM, pVCpu, pCtx); 1234 if ( enmCheck != EMSTATE_REM 1235 && enmCheck != EMSTATE_IEM_THEN_REM) 1236 return VINF_EM_RESCHEDULE; 1237 } 1238 #endif 1224 1239 1225 1240 } /* The Inner Loop, recompiled execution mode version. */
Note:
See TracChangeset
for help on using the changeset viewer.