Changeset 72749 in vbox for trunk/src/VBox
- Timestamp:
- Jun 29, 2018 7:57:05 AM (7 years ago)
- Location:
- trunk/src/VBox/VMM/VMMR3
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/VMM/VMMR3/EM.cpp
r72660 r72749 73 73 #include <iprt/stream.h> 74 74 #include <iprt/thread.h> 75 76 77 /*********************************************************************************************************************************78 * Defined Constants And Macros *79 *********************************************************************************************************************************/80 #if 0 /* Disabled till after 2.1.0 when we've time to test it. */81 #define EM_NOTIFY_HM82 #endif83 75 84 76 -
trunk/src/VBox/VMM/VMMR3/EMHM.cpp
r72634 r72749 54 54 55 55 /********************************************************************************************************************************* 56 * Defined Constants And Macros *57 *********************************************************************************************************************************/58 #if 0 /* Disabled till after 2.1.0 when we've time to test it. */59 #define EM_NOTIFY_HM60 #endif61 62 63 /*********************************************************************************************************************************64 56 * Internal Functions * 65 57 *********************************************************************************************************************************/ … … 228 220 } 229 221 230 #ifdef EM_NOTIFY_HM231 if (pVCpu->em.s.enmState == EMSTATE_DEBUG_GUEST_HM)232 HMR3NotifyEmulated(pVCpu);233 #endif234 222 return VBOXSTRICTRC_TODO(rcStrict); 235 223 } … … 408 396 STAM_COUNTER_INC(&pVCpu->em.s.StatHMExecuteCalled); 409 397 410 #ifdef EM_NOTIFY_HM411 HMR3NotifyScheduled(pVCpu);412 #endif413 414 398 /* 415 399 * Spin till we get a forced action which returns anything but VINF_SUCCESS. -
trunk/src/VBox/VMM/VMMR3/EMR3Nem.cpp
r72675 r72749 51 51 52 52 #include <iprt/asm.h> 53 54 55 /*********************************************************************************************************************************56 * Defined Constants And Macros *57 *********************************************************************************************************************************/58 #if 0 /* Disabled till after 2.1.0 when we've time to test it. */59 #define EM_NOTIFY_HM60 #endif61 53 62 54 -
trunk/src/VBox/VMM/VMMR3/HM.cpp
r72744 r72749 3094 3094 3095 3095 /** 3096 * Notification from EM about a rescheduling into hardware assisted execution3097 * mode.3098 *3099 * @param pVCpu The cross context virtual CPU structure of the calling EMT.3100 */3101 VMMR3_INT_DECL(void) HMR3NotifyScheduled(PVMCPU pVCpu)3102 {3103 pVCpu->hm.s.fCtxChanged |= HM_CHANGED_ALL_GUEST;3104 }3105 3106 3107 /**3108 * Notification from EM about returning from instruction emulation (REM / EM).3109 *3110 * @param pVCpu The cross context virtual CPU structure.3111 */3112 VMMR3_INT_DECL(void) HMR3NotifyEmulated(PVMCPU pVCpu)3113 {3114 pVCpu->hm.s.fCtxChanged |= HM_CHANGED_ALL_GUEST;3115 }3116 3117 3118 /**3119 3096 * Checks if we are currently using hardware acceleration. 3120 3097 *
Note:
See TracChangeset
for help on using the changeset viewer.