VirtualBox

Changeset 73288 in vbox for trunk/src


Ignore:
Timestamp:
Jul 21, 2018 4:54:31 AM (7 years ago)
Author:
vboxsync
Message:

VMM/HM: Hex digit nits.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/VMM/VMMR0/HMVMXR0.cpp

    r73287 r73288  
    11691169     * 0xc00 - 0xfff - High MSR write bits
    11701170     */
    1171     if (uMsr <= 0x00001FFF)
     1171    if (uMsr <= 0x00001fff)
    11721172        iBit = uMsr;
    1173     else if (uMsr - UINT32_C(0xC0000000) <= UINT32_C(0x00001FFF))
    1174     {
    1175         iBit = uMsr - UINT32_C(0xC0000000);
     1173    else if (uMsr - UINT32_C(0xc0000000) <= UINT32_C(0x00001fff))
     1174    {
     1175        iBit = uMsr - UINT32_C(0xc0000000);
    11761176        pbMsrBitmap += 0x400;
    11771177    }
     
    12141214
    12151215    /* See hmR0VmxSetMsrPermission() for the layout. */
    1216     if (uMsr <= 0x00001FFF)
     1216    if (uMsr <= 0x00001fff)
    12171217        iBit = uMsr;
    1218     else if (   uMsr >= 0xC0000000
    1219              && uMsr <= 0xC0001FFF)
    1220     {
    1221         iBit = (uMsr - 0xC0000000);
     1218    else if (   uMsr >= 0xc0000000
     1219             && uMsr <= 0xc0001fff)
     1220    {
     1221        iBit = (uMsr - 0xc0000000);
    12221222        pbMsrBitmap += 0x400;
    12231223    }
Note: See TracChangeset for help on using the changeset viewer.

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette