Changeset 97614 in vbox for trunk/src/VBox/VMM/VMMAll/VMXAllTemplate.cpp.h
- Timestamp:
- Nov 19, 2022 11:53:25 PM (2 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/VMM/VMMAll/VMXAllTemplate.cpp.h
r97562 r97614 813 813 { 814 814 PVMXVMCSINFO pVmcsInfo = pVmxTransient->pVmcsInfo; 815 uint32_t 815 uint32_t uXcptBitmap = pVmcsInfo->u32XcptBitmap; 816 816 if ((uXcptBitmap & uXcptMask) != uXcptMask) 817 817 { … … 852 852 static int vmxHCRemoveXcptInterceptMask(PVMCPUCC pVCpu, PCVMXTRANSIENT pVmxTransient, uint32_t uXcptMask) 853 853 { 854 PVMXVMCSINFO pVmcsInfo = pVmxTransient->pVmcsInfo;855 uint32_t u32XcptBitmap = pVmcsInfo->u32XcptBitmap;856 if (u 32XcptBitmap & uXcptMask)854 PVMXVMCSINFO pVmcsInfo = pVmxTransient->pVmcsInfo; 855 uint32_t uXcptBitmap = pVmcsInfo->u32XcptBitmap; 856 if (uXcptBitmap & uXcptMask) 857 857 { 858 858 #ifdef VBOX_WITH_NESTED_HWVIRT_VMX … … 889 889 890 890 /* Remove it from the exception bitmap. */ 891 u 32XcptBitmap &= ~uXcptMask;891 uXcptBitmap &= ~uXcptMask; 892 892 893 893 /* Commit and update the cache if necessary. */ 894 if (pVmcsInfo->u32XcptBitmap != u 32XcptBitmap)894 if (pVmcsInfo->u32XcptBitmap != uXcptBitmap) 895 895 { 896 int rc = VMX_VMCS_WRITE_32(pVCpu, VMX_VMCS32_CTRL_EXCEPTION_BITMAP, u 32XcptBitmap);896 int rc = VMX_VMCS_WRITE_32(pVCpu, VMX_VMCS32_CTRL_EXCEPTION_BITMAP, uXcptBitmap); 897 897 AssertRC(rc); 898 pVmcsInfo->u32XcptBitmap = u 32XcptBitmap;898 pVmcsInfo->u32XcptBitmap = uXcptBitmap; 899 899 } 900 900 } … … 11123 11123 reloading and partial recalculation the next time around. */ 11124 11124 if (pDbgState->fModifiedXcptBitmap) 11125 { 11126 int rc2 = VMX_VMCS_WRITE_32(pVCpu, VMX_VMCS32_CTRL_EXCEPTION_BITMAP, pDbgState->bmXcptInitial); 11127 AssertRC(rc2); 11125 11128 pVmcsInfo->u32XcptBitmap = pDbgState->bmXcptInitial; 11129 } 11126 11130 11127 11131 return rcStrict;
Note:
See TracChangeset
for help on using the changeset viewer.