diff options
author | Theo de Raadt <deraadt@cvs.openbsd.org> | 2005-06-29 07:11:15 +0000 |
---|---|---|
committer | Theo de Raadt <deraadt@cvs.openbsd.org> | 2005-06-29 07:11:15 +0000 |
commit | 29c598fd0ce3515d5e5603d92e25c864964649cd (patch) | |
tree | d37e0f5854712aa67d2a0d57dba34955b5059a8a /sys/arch | |
parent | 88075846740b0976a5cf16fa2d09eb4164077521 (diff) |
one PSR_ variable stayed; from henric
Diffstat (limited to 'sys/arch')
-rw-r--r-- | sys/arch/sparc64/include/psl.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/sys/arch/sparc64/include/psl.h b/sys/arch/sparc64/include/psl.h index 32017ca8666..864d06d2498 100644 --- a/sys/arch/sparc64/include/psl.h +++ b/sys/arch/sparc64/include/psl.h @@ -1,4 +1,4 @@ -/* $OpenBSD: psl.h,v 1.17 2005/06/29 06:30:18 deraadt Exp $ */ +/* $OpenBSD: psl.h,v 1.18 2005/06/29 07:11:14 deraadt Exp $ */ /* $NetBSD: psl.h,v 1.20 2001/04/13 23:30:05 thorpej Exp $ */ /* @@ -142,6 +142,8 @@ #define TSTATE_CCR 0xff00000000LL #define TSTATE_CCR_SHIFT 32 +/* Leftover SPARC V8 PSTATE stuff */ +#define PSR_ICC 0x00f00000 #define PSRCC_TO_TSTATE(x) (((int64_t)(x)&PSR_ICC)<<(TSTATE_CCR_SHIFT-19)) #define TSTATECCR_TO_PSR(x) (((x)&TSTATE_CCR)>>(TSTATE_CCR_SHIFT-19)) |