Changeset 24829 in vbox for trunk/src/VBox/VMM/VMMR0
- Timestamp:
- Nov 20, 2009 3:02:10 PM (15 years ago)
- svn:sync-xref-src-repo-rev:
- 55053
- Location:
- trunk/src/VBox/VMM/VMMR0
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
TabularUnified trunk/src/VBox/VMM/VMMR0/HWSVMR0.cpp ¶
r24324 r24829 76 76 77 77 /* We must turn on AMD-V and setup the host state physical address, as those MSRs are per-cpu/core. */ 78 79 #if defined(LOG_ENABLED) && !defined(DEBUG_bird)80 SUPR0Printf("SVMR0EnableCpu cpu %d page (%x) %x\n", pCpu->idCpu, pvPageCpu, (uint32_t)pPageCpuPhys);81 #endif82 83 78 uint64_t val = ASMRdMsr(MSR_K6_EFER); 84 79 if (val & MSR_K6_EFER_SVME) … … 106 101 AssertReturn(pPageCpuPhys, VERR_INVALID_PARAMETER); 107 102 AssertReturn(pvPageCpu, VERR_INVALID_PARAMETER); 108 109 #if defined(LOG_ENABLED) && !defined(DEBUG_bird)110 SUPR0Printf("SVMR0DisableCpu cpu %d\n", pCpu->idCpu);111 #endif112 103 113 104 /* Turn off AMD-V in the EFER MSR. */ -
TabularUnified trunk/src/VBox/VMM/VMMR0/HWVMXR0.cpp ¶
r24809 r24829 111 111 AssertReturn(pvPageCpu, VERR_INVALID_PARAMETER); 112 112 113 #if defined(LOG_ENABLED) && !defined(DEBUG_bird) && !defined(DEBUG_misha)114 SUPR0Printf("VMXR0EnableCpu cpu %d page (%x) %x\n", pCpu->idCpu, pvPageCpu, (uint32_t)pPageCpuPhys);115 #endif116 113 if (pVM) 117 114 { … … 160 157 /* And clear the X86_CR4_VMXE bit */ 161 158 ASMSetCR4(ASMGetCR4() & ~X86_CR4_VMXE); 162 163 #if defined(LOG_ENABLED) && !defined(DEBUG_bird) && !defined(DEBUG_misha)164 SUPR0Printf("VMXR0DisableCpu cpu %d\n", pCpu->idCpu);165 #endif166 159 return VINF_SUCCESS; 167 160 }
Note:
See TracChangeset
for help on using the changeset viewer.