- Timestamp:
- Jul 21, 2018 4:54:31 AM (7 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/VMM/VMMR0/HMVMXR0.cpp
r73287 r73288 1169 1169 * 0xc00 - 0xfff - High MSR write bits 1170 1170 */ 1171 if (uMsr <= 0x00001 FFF)1171 if (uMsr <= 0x00001fff) 1172 1172 iBit = uMsr; 1173 else if (uMsr - UINT32_C(0x C0000000) <= UINT32_C(0x00001FFF))1174 { 1175 iBit = uMsr - UINT32_C(0x C0000000);1173 else if (uMsr - UINT32_C(0xc0000000) <= UINT32_C(0x00001fff)) 1174 { 1175 iBit = uMsr - UINT32_C(0xc0000000); 1176 1176 pbMsrBitmap += 0x400; 1177 1177 } … … 1214 1214 1215 1215 /* See hmR0VmxSetMsrPermission() for the layout. */ 1216 if (uMsr <= 0x00001 FFF)1216 if (uMsr <= 0x00001fff) 1217 1217 iBit = uMsr; 1218 else if ( uMsr >= 0x C00000001219 && uMsr <= 0x C0001FFF)1220 { 1221 iBit = (uMsr - 0x C0000000);1218 else if ( uMsr >= 0xc0000000 1219 && uMsr <= 0xc0001fff) 1220 { 1221 iBit = (uMsr - 0xc0000000); 1222 1222 pbMsrBitmap += 0x400; 1223 1223 }
Note:
See TracChangeset
for help on using the changeset viewer.