|
RTEMS
5.0.0
|
Go to the documentation of this file. 35 #ifndef KERN_sparc64_REGDEF_H_ 36 #define KERN_sparc64_REGDEF_H_ 38 #define PSTATE_IE_BIT (1 << 1) 39 #define PSTATE_AM_BIT (1 << 3) 41 #define PSTATE_AG_BIT (1 << 0) 42 #define PSTATE_IG_BIT (1 << 11) 43 #define PSTATE_MG_BIT (1 << 10) 45 #define PSTATE_PRIV_BIT (1 << 2) 46 #define PSTATE_PEF_BIT (1 << 4) 48 #define TSTATE_PSTATE_SHIFT 8 49 #define TSTATE_PRIV_BIT (PSTATE_PRIV_BIT << TSTATE_PSTATE_SHIFT) 50 #define TSTATE_IE_BIT (PSTATE_IE_BIT << TSTATE_PSTATE_SHIFT) 51 #define TSTATE_PEF_BIT (PSTATE_PEF_BIT << TSTATE_PSTATE_SHIFT) 53 #define TSTATE_CWP_MASK 0x1f 55 #define WSTATE_NORMAL(n) (n) 56 #define WSTATE_OTHER(n) ((n) << 3) 62 #define ICBUS_CONFIG_MID_SHIFT 17