Changeset 55129 in vbox for trunk/src/VBox/VMM/include
- Timestamp:
- Apr 8, 2015 11:31:47 AM (10 years ago)
- svn:sync-xref-src-repo-rev:
- 99427
- Location:
- trunk/src/VBox/VMM/include
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/VMM/include/GIMKvmInternal.h
r55118 r55129 261 261 VMM_INT_DECL(VBOXSTRICTRC) gimKvmReadMsr(PVMCPU pVCpu, uint32_t idMsr, PCCPUMMSRRANGE pRange, uint64_t *puValue); 262 262 VMM_INT_DECL(VBOXSTRICTRC) gimKvmWriteMsr(PVMCPU pVCpu, uint32_t idMsr, PCCPUMMSRRANGE pRange, uint64_t uRawValue); 263 VMM_INT_DECL(bool) gimKvmShouldTrapXcptUD(PVM pVM);263 VMM_INT_DECL(bool) gimKvmShouldTrapXcptUD(PVMCPU pVCpu); 264 264 VMM_INT_DECL(int) gimKvmXcptUD(PVMCPU pVCpu, PCPUMCTX pCtx, PDISCPUSTATE pDis); 265 265 -
trunk/src/VBox/VMM/include/HMInternal.h
r55118 r55129 164 164 #define HM_CHANGED_GUEST_EFER_MSR RT_BIT(16) 165 165 #define HM_CHANGED_GUEST_LAZY_MSRS RT_BIT(17) /* Shared */ 166 #define HM_CHANGED_GUEST_XCPT_INTERCEPTS RT_BIT(18) 166 167 /* VT-x specific state. */ 167 #define HM_CHANGED_VMX_GUEST_AUTO_MSRS RT_BIT(1 8)168 #define HM_CHANGED_VMX_GUEST_ACTIVITY_STATE RT_BIT( 19)169 #define HM_CHANGED_VMX_GUEST_APIC_STATE RT_BIT(2 0)170 #define HM_CHANGED_VMX_ENTRY_CTLS RT_BIT(2 1)171 #define HM_CHANGED_VMX_EXIT_CTLS RT_BIT(2 2)168 #define HM_CHANGED_VMX_GUEST_AUTO_MSRS RT_BIT(19) 169 #define HM_CHANGED_VMX_GUEST_ACTIVITY_STATE RT_BIT(20) 170 #define HM_CHANGED_VMX_GUEST_APIC_STATE RT_BIT(21) 171 #define HM_CHANGED_VMX_ENTRY_CTLS RT_BIT(22) 172 #define HM_CHANGED_VMX_EXIT_CTLS RT_BIT(23) 172 173 /* AMD-V specific state. */ 173 #define HM_CHANGED_SVM_GUEST_APIC_STATE RT_BIT(1 8)174 #define HM_CHANGED_SVM_RESERVED1 RT_BIT( 19)175 #define HM_CHANGED_SVM_RESERVED2 RT_BIT(2 0)176 #define HM_CHANGED_SVM_RESERVED3 RT_BIT(2 1)177 #define HM_CHANGED_SVM_RESERVED4 RT_BIT(2 2)174 #define HM_CHANGED_SVM_GUEST_APIC_STATE RT_BIT(19) 175 #define HM_CHANGED_SVM_RESERVED1 RT_BIT(20) 176 #define HM_CHANGED_SVM_RESERVED2 RT_BIT(21) 177 #define HM_CHANGED_SVM_RESERVED3 RT_BIT(22) 178 #define HM_CHANGED_SVM_RESERVED4 RT_BIT(23) 178 179 179 180 #define HM_CHANGED_ALL_GUEST ( HM_CHANGED_GUEST_CR0 \ … … 195 196 | HM_CHANGED_GUEST_EFER_MSR \ 196 197 | HM_CHANGED_GUEST_LAZY_MSRS \ 198 | HM_CHANGED_GUEST_XCPT_INTERCEPTS \ 197 199 | HM_CHANGED_VMX_GUEST_AUTO_MSRS \ 198 200 | HM_CHANGED_VMX_GUEST_ACTIVITY_STATE \ … … 201 203 | HM_CHANGED_VMX_EXIT_CTLS) 202 204 203 #define HM_CHANGED_HOST_CONTEXT RT_BIT(2 3)205 #define HM_CHANGED_HOST_CONTEXT RT_BIT(24) 204 206 205 207 /* Bits shared between host and guest. */ … … 343 345 /** Set when TPR patching is active. */ 344 346 bool fTPRPatchingActive; 345 /** Whether #UD needs to be intercepted (required by certain GIM providers). */ 346 bool fGIMTrapXcptUD; 347 /** Whether paravirt. hypercalls are enabled. */ 348 bool fHypercallsEnabled; 349 bool u8Alignment[1]; 347 bool u8Alignment[3]; 350 348 351 349 /** Host kernel flags that HM might need to know (SUPKERNELFEATURES_XXX). */ … … 584 582 /** Whether to preload the guest-FPU state to avoid #NM VM-exit overhead. */ 585 583 bool fPreloadGuestFpu; 584 585 /** Whether #UD needs to be intercepted (required by certain GIM providers). */ 586 bool fGIMTrapXcptUD; 587 /** Whether paravirt. hypercalls are enabled. */ 588 bool fHypercallsEnabled; 589 uint8_t u8Alignment0[6]; 586 590 587 591 /** World switch exit counter. */
Note:
See TracChangeset
for help on using the changeset viewer.