diff options
author | marius <marius@FreeBSD.org> | 2006-03-29 00:08:48 +0000 |
---|---|---|
committer | marius <marius@FreeBSD.org> | 2006-03-29 00:08:48 +0000 |
commit | 98a829e8eac9d84c6225039ca00f1e21fa520426 (patch) | |
tree | 838f6d73b64092a29e14e6661dfea3d7b9255ae0 /sys/sparc64 | |
parent | cb08e1b408cfdbe300674d3648be87273b38614a (diff) | |
download | FreeBSD-src-98a829e8eac9d84c6225039ca00f1e21fa520426.zip FreeBSD-src-98a829e8eac9d84c6225039ca00f1e21fa520426.tar.gz |
Add convenience macros for the bits in ASI_ESTATE_ERROR_EN_REG (used
for ECC handling) and the additional uses of the ASIs 0x77 and 0x7f
as well as their bits (used for a CPU bug workaround).
MFC after: 3 days
Diffstat (limited to 'sys/sparc64')
-rw-r--r-- | sys/sparc64/include/asi.h | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/sys/sparc64/include/asi.h b/sys/sparc64/include/asi.h index 78850dc..a05166f 100644 --- a/sys/sparc64/include/asi.h +++ b/sys/sparc64/include/asi.h @@ -96,6 +96,10 @@ #define AA_FIREPLANE_ADDRESS 0x8 /* US-III Cu */ #define ASI_ESTATE_ERROR_EN_REG 0x4b +#define AA_ESTATE_CEEN 0x1 +#define AA_ESTATE_NCEEN 0x2 +#define AA_ESTATE_ISAPEN 0x4 + #define ASI_AFSR 0x4c #define ASI_AFAR 0x4d @@ -179,7 +183,13 @@ * Exceptions are AA_SDB_INTR_D6 and AA_SDB_INTR_D7, which were appended * at the end. */ +#define ASI_SDB_ERROR_W 0x77 +#define ASI_SDB_CONTROL_W 0x77 #define ASI_SDB_INTR_W 0x77 +#define AA_SDB_ERR_HIGH 0x0 +#define AA_SDB_ERR_LOW 0x18 +#define AA_SDB_CNTL_HIGH 0x20 +#define AA_SDB_CNTL_LOW 0x38 #define AA_SDB_INTR_D0 0x40 #define AA_SDB_INTR_D0A 0x48 /* US-III family */ #define AA_SDB_INTR_D1 0x50 @@ -195,6 +205,12 @@ #define ASI_ECACHE_R 0x7e +/* + * These have the same registers as their corresponding write versions + * except for AA_INTR_SEND. + */ +#define ASI_SDB_ERROR_R 0x7f +#define ASI_SDB_CONTROL_R 0x7f #define ASI_SDB_INTR_R 0x7f #define ASI_PST8_P 0xc0 |