Changeset 26e7d6d in mainline for kernel/arch/sparc64/include/sun4v/regdef.h
- Timestamp:
- 2011-09-19T16:31:00Z (13 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- a347a11
- Parents:
- 3842a955 (diff), 086290d (diff)
Note: this is a merge changeset, the changes displayed below correspond to the merge itself.
Use the(diff)
links above to see all the changes relative to each parent. - File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
kernel/arch/sparc64/include/sun4v/regdef.h
r3842a955 r26e7d6d 28 28 */ 29 29 30 /** @addtogroup sparc64 30 /** @addtogroup sparc64 31 31 * @{ 32 32 */ … … 37 37 #define KERN_sparc64_sun4v_REGDEF_H_ 38 38 39 #define PSTATE_IE_BIT (1 << 1) 40 #define PSTATE_PRIV_BIT (1 << 2) 41 #define PSTATE_PEF_BIT (1 << 4) 39 #define TSTATE_CWP_MASK 0x1f 42 40 43 #define TSTATE_PSTATE_SHIFT 8 44 #define TSTATE_PRIV_BIT (PSTATE_PRIV_BIT << TSTATE_PSTATE_SHIFT) 45 #define TSTATE_CWP_MASK 0x1f 46 #define TSTATE_IE_BIT (PSTATE_IE_BIT << TSTATE_PSTATE_SHIFT) 47 48 #define WSTATE_NORMAL(n) (n) 49 #define WSTATE_OTHER(n) ((n) << 3) 50 51 #define TSTATE_PEF_BIT (PSTATE_PEF_BIT << TSTATE_PSTATE_SHIFT) 41 #define WSTATE_NORMAL(n) (n) 42 #define WSTATE_OTHER(n) ((n) << 3) 52 43 53 44 #endif
Note:
See TracChangeset
for help on using the changeset viewer.