Changeset 43387 in vbox for trunk/src/VBox/VMM/VMMR3/VMM.cpp
- Timestamp:
- Sep 21, 2012 9:40:25 AM (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/VMM/VMMR3/VMM.cpp
r42975 r43387 105 105 #include <VBox/param.h> 106 106 #include <VBox/version.h> 107 #include <VBox/vmm/h waccm.h>107 #include <VBox/vmm/hm.h> 108 108 #include <iprt/assert.h> 109 109 #include <iprt/alloc.h> … … 210 210 AssertRCReturn(rc, rc); 211 211 212 /* GC switchers are enabled by default. Turned off by H WACCM. */212 /* GC switchers are enabled by default. Turned off by HM. */ 213 213 pVM->vmm.s.fSwitcherDisabled = false; 214 214 … … 448 448 STAM_REG(pVM, &pVM->vmm.s.StatRZRetPGMFlushPending, STAMTYPE_COUNTER, "/VMM/RZRet/PGMFlushPending", STAMUNIT_OCCURENCES, "Number of VINF_PGM_POOL_FLUSH_PENDING returns."); 449 449 STAM_REG(pVM, &pVM->vmm.s.StatRZRetPendingRequest, STAMTYPE_COUNTER, "/VMM/RZRet/PendingRequest", STAMUNIT_OCCURENCES, "Number of VINF_EM_PENDING_REQUEST returns."); 450 STAM_REG(pVM, &pVM->vmm.s.StatRZRetPatchTPR, STAMTYPE_COUNTER, "/VMM/RZRet/PatchTPR", STAMUNIT_OCCURENCES, "Number of VINF_EM_H WACCM_PATCH_TPR_INSTR returns.");450 STAM_REG(pVM, &pVM->vmm.s.StatRZRetPatchTPR, STAMTYPE_COUNTER, "/VMM/RZRet/PatchTPR", STAMUNIT_OCCURENCES, "Number of VINF_EM_HM_PATCH_TPR_INSTR returns."); 451 451 STAM_REG(pVM, &pVM->vmm.s.StatRZRetCallRing3, STAMTYPE_COUNTER, "/VMM/RZCallR3/Misc", STAMUNIT_OCCURENCES, "Number of Other ring-3 calls."); 452 452 STAM_REG(pVM, &pVM->vmm.s.StatRZCallPDMLock, STAMTYPE_COUNTER, "/VMM/RZCallR3/PDMLock", STAMUNIT_OCCURENCES, "Number of VMMCALLRING3_PDM_LOCK calls."); … … 681 681 */ 682 682 if ( pVM->vmm.s.fUsePeriodicPreemptionTimers 683 && H WACCMR3IsVmxPreemptionTimerUsed(pVM))683 && HMR3IsVmxPreemptionTimerUsed(pVM)) 684 684 pVM->vmm.s.fUsePeriodicPreemptionTimers = false; 685 685 LogRel(("VMM: fUsePeriodicPreemptionTimers=%RTbool\n", pVM->vmm.s.fUsePeriodicPreemptionTimers)); … … 937 937 VMMR3DECL(const char *) VMMR3GetRZAssertMsg1(PVM pVM) 938 938 { 939 if (H WACCMIsEnabled(pVM))939 if (HMIsEnabled(pVM)) 940 940 return pVM->vmm.s.szRing0AssertMsg1; 941 941 … … 957 957 VMMR3DECL(const char *) VMMR3GetRZAssertMsg2(PVM pVM) 958 958 { 959 if (H WACCMIsEnabled(pVM))959 if (HMIsEnabled(pVM)) 960 960 return pVM->vmm.s.szRing0AssertMsg2; 961 961 … … 1403 1403 { 1404 1404 VM_ASSERT_EMT(pVM); 1405 if (H WACCMIsEnabled(pVM))1406 return H WACMMR3EnablePatching(pVM, pPatchMem, cbPatchMem);1405 if (HMIsEnabled(pVM)) 1406 return HMR3EnablePatching(pVM, pPatchMem, cbPatchMem); 1407 1407 1408 1408 return VERR_NOT_SUPPORTED; … … 1419 1419 VMMR3DECL(int) VMMR3DeregisterPatchMemory(PVM pVM, RTGCPTR pPatchMem, unsigned cbPatchMem) 1420 1420 { 1421 if (H WACCMIsEnabled(pVM))1422 return H WACMMR3DisablePatching(pVM, pPatchMem, cbPatchMem);1421 if (HMIsEnabled(pVM)) 1422 return HMR3DisablePatching(pVM, pPatchMem, cbPatchMem); 1423 1423 1424 1424 return VINF_SUCCESS; … … 2339 2339 PRINT_GROUP(VMCPU_FF_,NORMAL_PRIORITY,_MASK); 2340 2340 PRINT_GROUP(VMCPU_FF_,RESUME_GUEST,_MASK); 2341 PRINT_GROUP(VMCPU_FF_,H WACCM_TO_R3,_MASK);2341 PRINT_GROUP(VMCPU_FF_,HM_TO_R3,_MASK); 2342 2342 PRINT_GROUP(VMCPU_FF_,ALL_REM,_MASK); 2343 2343 if (c)
Note:
See TracChangeset
for help on using the changeset viewer.