Changeset 46900 in vbox
- Timestamp:
- Jul 2, 2013 12:04:28 PM (12 years ago)
- Location:
- trunk/src/VBox/VMM/VMMR0
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/VMM/VMMR0/HMSVMR0.cpp
r46892 r46900 118 118 * it's contributory or benign. Page faults are handled separately. 119 119 */ 120 #define HMSVM_CONTRIBUTORY_XCPT_MASK ( RT_BIT(X86_XCPT_GP) | RT_BIT(X86_XCPT_NP) | RT_BIT(X86_XCPT_SS) | RT_BIT(X86_XCPT_TS) \120 #define HMSVM_CONTRIBUTORY_XCPT_MASK ( RT_BIT(X86_XCPT_GP) | RT_BIT(X86_XCPT_NP) | RT_BIT(X86_XCPT_SS) | RT_BIT(X86_XCPT_TS) \ 121 121 | RT_BIT(X86_XCPT_DE)) 122 122 /** @} */ -
trunk/src/VBox/VMM/VMMR0/HMVMXR0.cpp
r46888 r46900 126 126 127 127 /** 128 * Exception bitmap mask for real-mode guests (real-on-v86). We need to intercept all exceptions manually (except #PF). 129 * #NM is also handled spearetely, see hmR0VmxLoadGuestControlRegs(). #PF need not be intercepted even in real-mode if 130 * we have Nested Paging support. 128 * @name Exception bitmap mask for real-mode guests (real-on-v86). 129 * 130 * We need to intercept all exceptions manually (except #PF). #NM is also 131 * handled spearetely, see hmR0VmxLoadGuestControlRegs(). #PF need not be 132 * intercepted even in real-mode if we have Nested Paging support. 131 133 */ 132 134 #define HMVMX_REAL_MODE_XCPT_MASK ( RT_BIT(X86_XCPT_DE) | RT_BIT(X86_XCPT_DB) | RT_BIT(X86_XCPT_NMI) \ … … 137 139 | RT_BIT(X86_XCPT_MF) | RT_BIT(X86_XCPT_AC) | RT_BIT(X86_XCPT_MC) \ 138 140 | RT_BIT(X86_XCPT_XF)) 139 140 /** 141 * Exception bitmap mask for all contributory exceptions. 142 */ 143 #define HMVMX_CONTRIBUTORY_XCPT_MASK ( RT_BIT(X86_XCPT_GP) | RT_BIT(X86_XCPT_NP) | RT_BIT(X86_XCPT_SS) | RT_BIT(X86_XCPT_TS) \ 141 /** @} */ 142 143 /** 144 * @name Exception bitmap mask for all contributory exceptions. 145 * 146 * Page fault is deliberately excluded here as it's conditional as to whether 147 * it's contributory or benign. Page faults are handled separately. 148 */ 149 #define HMVMX_CONTRIBUTORY_XCPT_MASK ( RT_BIT(X86_XCPT_GP) | RT_BIT(X86_XCPT_NP) | RT_BIT(X86_XCPT_SS) | RT_BIT(X86_XCPT_TS) \ 144 150 | RT_BIT(X86_XCPT_DE)) 151 /** @} */ 145 152 146 153 /** Maximum VM-instruction error number. */
Note:
See TracChangeset
for help on using the changeset viewer.