VirtualBox

Changeset 54713 in vbox for trunk/include/iprt/asmdefs.mac


Ignore:
Timestamp:
Mar 11, 2015 1:59:18 PM (10 years ago)
Author:
vboxsync
Message:

iprt/asmdefs.mac: Added RT_BIT_32 macro.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/include/iprt/asmdefs.mac

    r54690 r54713  
    7373
    7474;;
     75; Make the mask for the given bit.
     76%define RT_BIT_32(bit)     (1 << bit)
     77
     78;;
    7579; Makes a 32-bit unsigned (not type safe, but whatever) out of four byte values.
    7680%define RT_MAKE_U32_FROM_U8(b0, b1, b2, b3) ( (b3 << 24) | (b2 << 16) | (b1 << 8) | b0 )
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