Go to the documentation of this file.
12 #ifndef __MACH_PUV3_BITFIELD_H__
13 #define __MACH_PUV3_BITFIELD_H__
16 #define UData(Data) ((unsigned long) (Data))
18 #define UData(Data) (Data)
21 #define FIELD(val, vmask, vshift) (((val) & ((UData(1) << (vmask)) - 1)) << (vshift))
22 #define FMASK(vmask, vshift) (((UData(1) << (vmask)) - 1) << (vshift))