Rev 1857 | Rev 1882 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 1857 | Rev 1860 | ||
---|---|---|---|
Line 44... | Line 44... | ||
44 | 44 | ||
45 | #define PSTATE_PRIV_BIT (1<<2) |
45 | #define PSTATE_PRIV_BIT (1<<2) |
46 | 46 | ||
47 | #define TSTATE_PSTATE_SHIFT 8 |
47 | #define TSTATE_PSTATE_SHIFT 8 |
48 | #define TSTATE_PRIV_BIT (PSTATE_PRIV_BIT<<TSTATE_PSTATE_SHIFT) |
48 | #define TSTATE_PRIV_BIT (PSTATE_PRIV_BIT<<TSTATE_PSTATE_SHIFT) |
- | 49 | #define TSTATE_IE_BIT (PSTATE_IE_BIT<<TSTATE_PSTATE_SHIFT) |
|
49 | 50 | ||
50 | #define TSTATE_CWP_MASK 0x1f |
51 | #define TSTATE_CWP_MASK 0x1f |
51 | 52 | ||
52 | #define WSTATE_NORMAL(n) (n) |
53 | #define WSTATE_NORMAL(n) (n) |
53 | #define WSTATE_OTHER(n) ((n)<<3) |
54 | #define WSTATE_OTHER(n) ((n)<<3) |