Rev 3798 | Rev 3863 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 3798 | Rev 3862 | ||
---|---|---|---|
Line 34... | Line 34... | ||
34 | */ |
34 | */ |
35 | 35 | ||
36 | #ifndef KERN_sparc64_sun4v_REGDEF_H_ |
36 | #ifndef KERN_sparc64_sun4v_REGDEF_H_ |
37 | #define KERN_sparc64_sun4v_REGDEF_H_ |
37 | #define KERN_sparc64_sun4v_REGDEF_H_ |
38 | 38 | ||
- | 39 | #define PSTATE_IE_BIT (1 << 1) |
|
39 | #define PSTATE_PRIV_BIT (1 << 2) |
40 | #define PSTATE_PRIV_BIT (1 << 2) |
40 | #define PSTATE_PEF_BIT (1 << 4) |
41 | #define PSTATE_PEF_BIT (1 << 4) |
41 | 42 | ||
42 | #define TSTATE_PSTATE_SHIFT 8 |
43 | #define TSTATE_PSTATE_SHIFT 8 |
43 | #define TSTATE_PRIV_BIT (PSTATE_PRIV_BIT << TSTATE_PSTATE_SHIFT) |
44 | #define TSTATE_PRIV_BIT (PSTATE_PRIV_BIT << TSTATE_PSTATE_SHIFT) |