Fix (unused) pstate mask bits in tstate and comment.
This commit is contained in:
parent
27d6758ddb
commit
da6c94469a
@ -1,4 +1,4 @@
|
||||
/* $NetBSD: psl.h,v 1.48 2011/08/28 22:30:09 mrg Exp $ */
|
||||
/* $NetBSD: psl.h,v 1.49 2016/05/18 08:16:04 nakayama Exp $ */
|
||||
|
||||
/*
|
||||
* Copyright (c) 1992, 1993
|
||||
@ -146,14 +146,14 @@
|
||||
/*
|
||||
* SPARC V9 TSTATE register
|
||||
*
|
||||
* 39 32 31 24 23 18 17 8 7 5 4 0
|
||||
* 39 32 31 24 23 20 19 8 7 5 4 0
|
||||
* +-----+-----+-----+--------+---+-----+
|
||||
* | CCR | ASI | - | PSTATE | - | CWP |
|
||||
* +-----+-----+-----+--------+---+-----+
|
||||
*/
|
||||
|
||||
#define TSTATE_CWP 0x01f
|
||||
#define TSTATE_PSTATE 0x6ff00
|
||||
#define TSTATE_PSTATE 0xfff00
|
||||
#define TSTATE_PSTATE_SHIFT 8
|
||||
#define TSTATE_ASI 0xff000000LL
|
||||
#define TSTATE_ASI_SHIFT 24
|
||||
|
@ -1,4 +1,4 @@
|
||||
/* $NetBSD: psl.h,v 1.56 2014/12/25 14:02:03 nakayama Exp $ */
|
||||
/* $NetBSD: psl.h,v 1.57 2016/05/18 07:59:30 nakayama Exp $ */
|
||||
|
||||
/*
|
||||
* Copyright (c) 1992, 1993
|
||||
@ -165,14 +165,14 @@
|
||||
/*
|
||||
* SPARC V9 TSTATE register
|
||||
*
|
||||
* 39 32 31 24 23 18 17 8 7 5 4 0
|
||||
* 39 32 31 24 23 20 19 8 7 5 4 0
|
||||
* +-----+-----+-----+--------+---+-----+
|
||||
* | CCR | ASI | - | PSTATE | - | CWP |
|
||||
* +-----+-----+-----+--------+---+-----+
|
||||
*/
|
||||
|
||||
#define TSTATE_CWP 0x01f
|
||||
#define TSTATE_PSTATE 0x6ff00
|
||||
#define TSTATE_PSTATE 0xfff00
|
||||
#define TSTATE_PSTATE_SHIFT 8
|
||||
#define TSTATE_ASI 0xff000000LL
|
||||
#define TSTATE_ASI_SHIFT 24
|
||||
|
Loading…
Reference in New Issue
Block a user