Rev 3863 | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 3863 | Rev 4129 | ||
---|---|---|---|
Line 48... | Line 48... | ||
48 | #define WSTATE_NORMAL(n) (n) |
48 | #define WSTATE_NORMAL(n) (n) |
49 | #define WSTATE_OTHER(n) ((n) << 3) |
49 | #define WSTATE_OTHER(n) ((n) << 3) |
50 | 50 | ||
51 | #define TSTATE_PEF_BIT (PSTATE_PEF_BIT << TSTATE_PSTATE_SHIFT) |
51 | #define TSTATE_PEF_BIT (PSTATE_PEF_BIT << TSTATE_PSTATE_SHIFT) |
52 | 52 | ||
53 | /* |
- | |
54 | - | ||
55 | #define PSTATE_IE_BIT (1 << 1) |
- | |
56 | #define PSTATE_AM_BIT (1 << 3) |
- | |
57 | - | ||
58 | #define PSTATE_AG_BIT (1 << 0) |
- | |
59 | #define PSTATE_IG_BIT (1 << 11) |
- | |
60 | #define PSTATE_MG_BIT (1 << 10) |
- | |
61 | - | ||
62 | #define PSTATE_PRIV_BIT (1 << 2) |
- | |
63 | #define PSTATE_PEF_BIT (1 << 4) |
- | |
64 | - | ||
65 | #define TSTATE_PSTATE_SHIFT 8 |
- | |
66 | #define TSTATE_PRIV_BIT (PSTATE_PRIV_BIT << TSTATE_PSTATE_SHIFT) |
- | |
67 | #define TSTATE_IE_BIT (PSTATE_IE_BIT << TSTATE_PSTATE_SHIFT) |
- | |
68 | #define TSTATE_PEF_BIT (PSTATE_PEF_BIT << TSTATE_PSTATE_SHIFT) |
- | |
69 | - | ||
70 | #define TSTATE_CWP_MASK 0x1f |
- | |
71 | - | ||
72 | #define WSTATE_NORMAL(n) (n) |
- | |
73 | #define WSTATE_OTHER(n) ((n) << 3) |
- | |
74 | - | ||
75 | */ |
- | |
76 | - | ||
77 | #endif |
53 | #endif |
78 | 54 | ||
79 | /** @} |
55 | /** @} |
80 | */ |
56 | */ |