VirtualBox

Changeset 101223 in vbox for trunk/src/VBox


Ignore:
Timestamp:
Sep 21, 2023 2:54:27 PM (16 months ago)
Author:
vboxsync
Message:

VBoxSmcUtil-darwin.cpp: More 4-letter constants converted to RT_MAKE_U32_FROM_MSB_U8.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Devices/EFI/VBoxSmcUtil-darwin.cpp

    r100108 r101223  
    340340         * Known keys that doesn't make it into the enumeration.
    341341         */
    342         DisplayKeyByName('OSK0');
    343         DisplayKeyByName('OSK1');
    344         DisplayKeyByName('OSK2');
     342        DisplayKeyByName(RT_MAKE_U32_FROM_MSB_U8('O','S','K','0'));
     343        DisplayKeyByName(RT_MAKE_U32_FROM_MSB_U8('O','S','K','1'));
     344        DisplayKeyByName(RT_MAKE_U32_FROM_MSB_U8('O','S','K','2'));
    345345
    346346        /* Negative checks, sometimes maybe. */
    347         DisplayKeyByName('$Num');
    348         DisplayKeyByName('MSTf');
    349         DisplayKeyByName('MSDS');
    350         DisplayKeyByName('LSOF');
     347        DisplayKeyByName(RT_MAKE_U32_FROM_MSB_U8('$','N','u','m'));
     348        DisplayKeyByName(RT_MAKE_U32_FROM_MSB_U8('M','S','T','f'));
     349        DisplayKeyByName(RT_MAKE_U32_FROM_MSB_U8('M','S','D','S'));
     350        DisplayKeyByName(RT_MAKE_U32_FROM_MSB_U8('L','S','O','F'));
    351351    }
    352352    DisconnectFromSmc();
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