diff options
author | jake <jake@FreeBSD.org> | 2001-12-29 07:12:30 +0000 |
---|---|---|
committer | jake <jake@FreeBSD.org> | 2001-12-29 07:12:30 +0000 |
commit | f96a36771992bfbe155d46db18744d7c849d2518 (patch) | |
tree | d04da005b777451c0f184279f4a1a30bb481b345 | |
parent | 2fa6dd41befad853bda0ce0fd0e4b46638f8af5f (diff) | |
download | FreeBSD-src-f96a36771992bfbe155d46db18744d7c849d2518.zip FreeBSD-src-f96a36771992bfbe155d46db18744d7c849d2518.tar.gz |
Rename definitions to better match the hardware wstate fields.
Don't include WSTATE_TRANSITION in WSTATE_NORMAL_MASK.
-rw-r--r-- | sys/sparc64/include/wstate.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/sparc64/include/wstate.h b/sys/sparc64/include/wstate.h index ff86953..cf32973 100644 --- a/sys/sparc64/include/wstate.h +++ b/sys/sparc64/include/wstate.h @@ -84,8 +84,8 @@ #define WSTATE_ASSUME64 2 /* assume 64-bit mode */ #define WSTATE_ASSUME32 3 /* assume 32-bit mode */ -#define WSTATE_MASK 7 /* for WSTATE.NORMAL */ -#define WSTATE_USERSHIFT 3 /* for WSTATE.OTHER / user */ +#define WSTATE_NORMAL_MASK 3 /* wstate normal minus transition */ +#define WSTATE_OTHER_SHIFT 3 /* for wstate other / user */ #define WSTATE_KERNEL 0 /* normal kernel wstate */ |