Changeset 79692 in vbox
- Timestamp:
- Jul 11, 2019 12:19:31 PM (6 years ago)
- svn:sync-xref-src-repo-rev:
- 132028
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/VMM/VMMR0/HMVMXR0.cpp
r79689 r79692 9128 9128 uint32_t const cbInstr = pEvent->cbInstr; 9129 9129 RTGCUINTPTR const GCPtrFault = pEvent->GCPtrFaultAddress; 9130 uint 32_t constuVector = VMX_ENTRY_INT_INFO_VECTOR(u32IntInfo);9130 uint8_t const uVector = VMX_ENTRY_INT_INFO_VECTOR(u32IntInfo); 9131 9131 uint32_t const uIntType = VMX_ENTRY_INT_INFO_TYPE(u32IntInfo); 9132 9132 … … 14804 14804 14805 14805 /* We should never call this function for a page-fault, we'd need to pass on the fault address below otherwise. */ 14806 Assert( uVector != X86_XCPT_PF 14807 || VMX_EXIT_INT_INFO_TYPE(pVmxTransient->uExitIntInfo) != VMX_EXIT_INT_INFO_TYPE_HW_XCPT); 14806 Assert(!VMX_EXIT_INT_INFO_IS_XCPT_PF(pVmxTransient->uExitIntInfo)); 14808 14807 NOREF(uVector); 14809 14808 … … 16203 16202 RTGCUINTPTR GCPtrFaultAddress; 16204 16203 uint32_t const uIntType = VMX_IDT_VECTORING_INFO_TYPE(pVmxTransient->uIdtVectoringInfo); 16205 uint 32_t constuVector = VMX_IDT_VECTORING_INFO_VECTOR(pVmxTransient->uIdtVectoringInfo);16204 uint8_t const uVector = VMX_IDT_VECTORING_INFO_VECTOR(pVmxTransient->uIdtVectoringInfo); 16206 16205 bool const fErrorCodeValid = VMX_IDT_VECTORING_INFO_IS_ERROR_CODE_VALID(pVmxTransient->uIdtVectoringInfo); 16207 16206 if (fErrorCodeValid) … … 16214 16213 uErrCode = 0; 16215 16214 16216 if ( uIntType == VMX_IDT_VECTORING_INFO_TYPE_HW_XCPT 16217 && uVector == X86_XCPT_PF) 16215 if (VMX_IDT_VECTORING_INFO_IS_XCPT_PF(pVmxTransient->uIdtVectoringInfo)) 16218 16216 GCPtrFaultAddress = pVCpu->cpum.GstCtx.cr2; 16219 16217 else
Note:
See TracChangeset
for help on using the changeset viewer.