Changeset 48565 in vbox for trunk/src/VBox/VMM/VMMR3
- Timestamp:
- Sep 19, 2013 10:16:00 PM (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/VMM/VMMR3/HM.cpp
r48556 r48565 647 647 648 648 #ifdef VBOX_WITH_STATISTICS 649 HM_REG_COUNTER(&pVCpu->hm.s.StatExitAll, "/HM/CPU%d/Exit/All", "Exits (total)."); 649 650 HM_REG_COUNTER(&pVCpu->hm.s.StatExitShadowNM, "/HM/CPU%d/Exit/Trap/Shw/#NM", "Shadow #NM (device not available, no math co-processor) exception."); 650 651 HM_REG_COUNTER(&pVCpu->hm.s.StatExitGuestNM, "/HM/CPU%d/Exit/Trap/Gst/#NM", "Guest #NM (device not available, no math co-processor) exception."); … … 1628 1629 VMMR3_INT_DECL(void) HMR3ResetCpu(PVMCPU pVCpu) 1629 1630 { 1630 /* Sync. entire state on VM reset R0-reentry. It's safe to update1631 /* Sync. entire state on VM reset R0-reentry. It's safe to reset 1631 1632 the HM flags here, all other EMTs are in ring-3. See VMR3Reset(). */ 1632 pVCpu->hm.s.fContextUseFlags = (HM_CHANGED_HOST_CONTEXT | HM_CHANGED_ALL_GUEST);1633 VMCPU_HMCF_RESET_TO(pVCpu, HM_CHANGED_HOST_CONTEXT | HM_CHANGED_ALL_GUEST); 1633 1634 1634 1635 pVCpu->hm.s.vmx.u32CR0Mask = 0; … … 2648 2649 VMMR3_INT_DECL(void) HMR3NotifyScheduled(PVMCPU pVCpu) 2649 2650 { 2650 pVCpu->hm.s.fContextUseFlags |= HM_CHANGED_ALL_GUEST;2651 VMCPU_HMCF_SET(pVCpu, HM_CHANGED_ALL_GUEST); 2651 2652 } 2652 2653 … … 2659 2660 VMMR3_INT_DECL(void) HMR3NotifyEmulated(PVMCPU pVCpu) 2660 2661 { 2661 pVCpu->hm.s.fContextUseFlags |= HM_CHANGED_ALL_GUEST;2662 VMCPU_HMCF_SET(pVCpu, HM_CHANGED_ALL_GUEST); 2662 2663 } 2663 2664
Note:
See TracChangeset
for help on using the changeset viewer.