- Timestamp:
- Apr 14, 2013 8:45:07 PM (12 years ago)
- svn:sync-xref-src-repo-rev:
- 85031
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/VMM/VMMR0/HMVMXR0.cpp
r45546 r45547 4649 4649 4650 4650 /** 4651 * Determines if we are intercepting any contributory exceptions or page-faults.4651 * Determines if we are intercepting any contributory exceptions. 4652 4652 * 4653 4653 * @returns true if we are intercepting them, false otherwise. 4654 4654 * @param pVCpu Pointer to the VMCPU. 4655 4655 */ 4656 DECLINLINE(bool) hmR0VmxInterceptingContributoryXcpts OrPF(PVMCPU pVCpu)4657 { 4658 if (pVCpu->hm.s.vmx.u32XcptBitmap & (VMX_CONTRIBUTORY_XCPT_BITMAP | RT_BIT(X86_XCPT_PF)))4656 DECLINLINE(bool) hmR0VmxInterceptingContributoryXcpts(PVMCPU pVCpu) 4657 { 4658 if (pVCpu->hm.s.vmx.u32XcptBitmap & VMX_CONTRIBUTORY_XCPT_BITMAP) 4659 4659 return true; 4660 4660 return false; … … 4759 4759 enmReflect = VMXREFLECTXCPT_XCPT; 4760 4760 } 4761 else if ( hmR0VmxIsContributoryXcpt(uIdtVector) 4762 && hmR0VmxIsContributoryXcpt(uExitVector)) 4763 { 4764 enmReflect = VMXREFLECTXCPT_DF; 4765 } 4766 else if ( hmR0VmxInterceptingContributoryXcptsOrPF(pVCpu) 4767 && uIdtVector == X86_XCPT_PF 4768 && ( hmR0VmxIsContributoryXcpt(uExitVector) 4769 || uExitVector == X86_XCPT_PF)) 4761 else if ( hmR0VmxInterceptingContributoryXcpts(pVCpu) 4762 && hmR0VmxIsContributoryXcpt(uExitVector) 4763 && ( hmR0VmxIsContributoryXcpt(uIdtVector) 4764 || uIdtVector == X86_XCPT_PF)) 4770 4765 { 4771 4766 enmReflect = VMXREFLECTXCPT_DF;
Note:
See TracChangeset
for help on using the changeset viewer.