Logo Search packages:      
Sourcecode: virtualbox-ose version File versions

#define RT_MAKE_U64_FROM_U8 ( b0,
b1,
b2,
b3,
b4,
b5,
b6,
b7   ) 

Value:

(   (uint64_t)((uint8_t)(b7)) << 56 \
                  | (uint64_t)((uint8_t)(b6)) << 48 \
                  | (uint64_t)((uint8_t)(b5)) << 40 \
                  | (uint64_t)((uint8_t)(b4)) << 32 \
                  | (uint32_t)((uint8_t)(b3)) << 24 \
                  | (uint32_t)((uint8_t)(b2)) << 16 \
                  | (uint16_t)((uint8_t)(b1)) << 8 \
                  |            (uint8_t)(b0) )
Constructs a uint64_t value from eight uint8_t values.

Definition at line 1008 of file cdefs.h.


Generated by  Doxygen 1.6.0   Back to index