Changeset 10355 in vbox for trunk/src/VBox/VMM
- Timestamp:
- Jul 8, 2008 11:19:56 AM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/VMM/VMMR0/HWVMXR0.cpp
r10353 r10355 178 178 ASMMemZero32(pVM->hwaccm.s.vmx.pAPIC, PAGE_SIZE); 179 179 } 180 else 181 { 182 pVM->hwaccm.s.vmx.pMemObjAPIC = 0; 183 pVM->hwaccm.s.vmx.pAPIC = 0; 184 pVM->hwaccm.s.vmx.pAPICPhys = 0; 185 } 180 186 181 187 #ifdef LOG_ENABLED … … 275 281 val |= VMX_VMCS_CTRL_PROC_EXEC_CONTROLS_CR8_STORE_EXIT; 276 282 277 /* Exit on CR8 reads as well in case the TPR shadow feature isn't present. */ 278 if (!(pVM->hwaccm.s.vmx.msr.vmx_proc_ctls & VMX_VMCS_CTRL_PROC_EXEC_CONTROLS_USE_TPR_SHADOW)) 283 if (pVM->hwaccm.s.vmx.msr.vmx_proc_ctls & VMX_VMCS_CTRL_PROC_EXEC_CONTROLS_USE_TPR_SHADOW) 284 { 285 /* CR8 reads from the APIC shadow page */ 286 val |= VMX_VMCS_CTRL_PROC_EXEC_CONTROLS_USE_TPR_SHADOW; 287 } 288 else 289 /* Exit on CR8 reads as well in case the TPR shadow feature isn't present. */ 279 290 val |= VMX_VMCS_CTRL_PROC_EXEC_CONTROLS_CR8_LOAD_EXIT; 280 291 #endif
Note:
See TracChangeset
for help on using the changeset viewer.