Loading...
Searching...
No Matches
Go to the documentation of this file.
46#define _SHIFTL(v, s, w) ((unsigned int) (((unsigned int) (v) & ((0x01 << (w)) - 1)) << (s)))
47#define _SHIFTR(v, s, w) ((unsigned int) (((unsigned int) (v) >> (s)) & ((0x01 << (w)) - 1)))
88#define NUM_SEGMENTS (16)
89#define SEGMENT_OFFSET(a) ((unsigned int) (a) & 0x00ffffff)
90#define SEGMENT_NUMBER(a) (((unsigned int) (a) << 4) >> 28)
91#define SEGMENT_NUMBER2(a) ((unsigned int) (a) >> 24)
92#define SEGMENT_ADDR(num, off) (((num) << 24) + (off))