Changeset 12748 in vbox
- Timestamp:
- Sep 25, 2008 3:22:36 PM (17 years ago)
- svn:sync-xref-src-repo-rev:
- 37072
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/VMM/VMMR0/HWVMXR0.cpp
r12747 r12748 1097 1097 #endif 1098 1098 1099 /* Intercept #GP faults in real mode to handle IO instructions. */ 1099 #ifdef VBOX_STRICT 1100 Assert(pVM->hwaccm.s.vmx.u32TrapMask & RT_BIT(X86_XCPT_GP)); 1101 #else 1102 /* Intercept #GP faults in real mode to handle privileged instructions. */ 1100 1103 if (CPUMIsGuestInRealModeEx(pCtx)) 1101 1104 pVM->hwaccm.s.vmx.u32TrapMask |= RT_BIT(X86_XCPT_GP); … … 1105 1108 rc = VMXWriteVMCS(VMX_VMCS_CTRL_EXCEPTION_BITMAP, pVM->hwaccm.s.vmx.u32TrapMask); 1106 1109 AssertRC(rc); 1110 #endif 1107 1111 1108 1112 /* Done. */
Note:
See TracChangeset
for help on using the changeset viewer.