Searched refs:MKMASK (Results 1 - 2 of 2) sorted by relevance
/macosx-10.5.8/xnu-1228.15.4/EXTERNAL_HEADERS/architecture/i386/ |
H A D | reg_help.h | 52 #define MKMASK(width, offset) (((unsigned)-1)>>(32-(width))<<(offset)) macro 53 #define BITSMASK(msb, lsb) MKMASK(BITS_WIDTH(msb, lsb), lsb & 0x1f) 54 #define BITMASK(pos) MKMASK(BIT_WIDTH(pos), pos & 0x1f)
|
/macosx-10.5.8/xnu-1228.15.4/EXTERNAL_HEADERS/architecture/ppc/ |
H A D | reg_help.h | 203 #define MKMASK(width, offset) (((unsigned)-1)>>(32-(width))<<(offset)) macro 204 #define BITSMASK(msb, lsb) MKMASK(BITS_WIDTH(msb, lsb), lsb & 0x1f) 205 #define BITMASK(pos) MKMASK(BIT_WIDTH(pos), pos & 0x1f)
|
Completed in 24 milliseconds