Rev 3862 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 3862 | Rev 3863 | ||
---|---|---|---|
Line 41... | Line 41... | ||
41 | #define PSTATE_PEF_BIT (1 << 4) |
41 | #define PSTATE_PEF_BIT (1 << 4) |
42 | 42 | ||
43 | #define TSTATE_PSTATE_SHIFT 8 |
43 | #define TSTATE_PSTATE_SHIFT 8 |
44 | #define TSTATE_PRIV_BIT (PSTATE_PRIV_BIT << TSTATE_PSTATE_SHIFT) |
44 | #define TSTATE_PRIV_BIT (PSTATE_PRIV_BIT << TSTATE_PSTATE_SHIFT) |
45 | #define TSTATE_CWP_MASK 0x1f |
45 | #define TSTATE_CWP_MASK 0x1f |
- | 46 | #define TSTATE_IE_BIT (PSTATE_IE_BIT << TSTATE_PSTATE_SHIFT) |
|
46 | 47 | ||
47 | #define WSTATE_NORMAL(n) (n) |
48 | #define WSTATE_NORMAL(n) (n) |
48 | #define WSTATE_OTHER(n) ((n) << 3) |
49 | #define WSTATE_OTHER(n) ((n) << 3) |
49 | 50 | ||
50 | #define TSTATE_PEF_BIT (PSTATE_PEF_BIT << TSTATE_PSTATE_SHIFT) |
51 | #define TSTATE_PEF_BIT (PSTATE_PEF_BIT << TSTATE_PSTATE_SHIFT) |