Changeset 71814 in vbox
- Timestamp:
- Apr 11, 2018 5:12:47 AM (7 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/VMM/VMMR0/HMSVMR0.cpp
r71813 r71814 5171 5171 uint8_t const *pbMsrBitmap = (uint8_t const *)pCtx->hwvirt.svm.CTX_SUFF(pvMsrBitmap); 5172 5172 pbMsrBitmap += offMsrpm; 5173 bool const fInterceptRead = *pbMsrBitmap & RT_BIT(uMsrpmBit);5174 bool const fInterceptWrite = *pbMsrBitmap & RT_BIT(uMsrpmBit + 1);5173 bool const fInterceptRead = RT_BOOL(*pbMsrBitmap & RT_BIT(uMsrpmBit)); 5174 bool const fInterceptWrite = RT_BOOL(*pbMsrBitmap & RT_BIT(uMsrpmBit + 1)); 5175 5175 5176 5176 if ( (fInterceptWrite && pVmcbNstGstCtrl->u64ExitInfo1 == SVM_EXIT1_MSR_WRITE)
Note:
See TracChangeset
for help on using the changeset viewer.