Changeset 73255 in vbox
- Timestamp:
- Jul 20, 2018 3:53:46 AM (7 years ago)
- Location:
- trunk
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/include/VBox/vmm/hm_vmx.h
r73254 r73255 1565 1565 #define VMX_IDT_VECTORING_INFO_TYPE(a) (((a) >> VMX_IDT_VECTORING_INFO_TYPE_SHIFT) & 7) 1566 1566 #define VMX_IDT_VECTORING_INFO_ERROR_CODE_VALID RT_BIT(11) 1567 #define VMX_IDT_VECTORING_INFO_ ERROR_CODE_IS_VALID(a) RT_BOOL((a) & VMX_IDT_VECTORING_INFO_ERROR_CODE_VALID)1567 #define VMX_IDT_VECTORING_INFO_IS_ERROR_CODE_VALID(a) RT_BOOL((a) & VMX_IDT_VECTORING_INFO_ERROR_CODE_VALID) 1568 1568 #define VMX_IDT_VECTORING_INFO_VALID(a) ((a) & RT_BIT(31)) 1569 1569 #define VMX_ENTRY_INT_INFO_FROM_EXIT_IDT_INFO(a) ((a) & ~RT_BIT(12)) -
trunk/src/VBox/VMM/VMMR0/HMVMXR0.cpp
r73254 r73255 5905 5905 { 5906 5906 uint32_t u32ErrCode; 5907 if (VMX_IDT_VECTORING_INFO_ ERROR_CODE_IS_VALID(pVmxTransient->uIdtVectoringInfo))5907 if (VMX_IDT_VECTORING_INFO_IS_ERROR_CODE_VALID(pVmxTransient->uIdtVectoringInfo)) 5908 5908 { 5909 5909 rc2 = hmR0VmxReadIdtVectoringErrorCodeVmcs(pVmxTransient); … … 6706 6706 uint32_t uVectorType = VMX_IDT_VECTORING_INFO_TYPE(pVCpu->hm.s.Event.u64IntInfo); 6707 6707 uint32_t uVector = VMX_IDT_VECTORING_INFO_VECTOR(pVCpu->hm.s.Event.u64IntInfo); 6708 bool fErrorCodeValid = VMX_IDT_VECTORING_INFO_ ERROR_CODE_IS_VALID(pVCpu->hm.s.Event.u64IntInfo);6708 bool fErrorCodeValid = VMX_IDT_VECTORING_INFO_IS_ERROR_CODE_VALID(pVCpu->hm.s.Event.u64IntInfo); 6709 6709 uint32_t uErrorCode = pVCpu->hm.s.Event.u32ErrCode; 6710 6710 … … 12313 12313 uint32_t const uIntType = VMX_IDT_VECTORING_INFO_TYPE(pVmxTransient->uIdtVectoringInfo); 12314 12314 uint32_t const uVector = VMX_IDT_VECTORING_INFO_VECTOR(pVmxTransient->uIdtVectoringInfo); 12315 bool const fErrorCodeValid = VMX_IDT_VECTORING_INFO_ ERROR_CODE_IS_VALID(pVmxTransient->uIdtVectoringInfo);12315 bool const fErrorCodeValid = VMX_IDT_VECTORING_INFO_IS_ERROR_CODE_VALID(pVmxTransient->uIdtVectoringInfo); 12316 12316 if (fErrorCodeValid) 12317 12317 {
Note:
See TracChangeset
for help on using the changeset viewer.