summaryrefslogtreecommitdiffstats
path: root/tools/csr.h
diff options
context:
space:
mode:
authorMarcel Holtmann <marcel@holtmann.org>2005-03-17 19:03:58 +0000
committerMarcel Holtmann <marcel@holtmann.org>2005-03-17 19:03:58 +0000
commitac2daf48298cb601d1a57b0e00e38887b5e0a675 (patch)
treea5067eb247a7a56e91f7013c93463f57d1fc9f6f /tools/csr.h
parentcfb680f0660169fe231c575cb2a0c7f72826f4f4 (diff)
Add support for reading CSR panic and fault codes
Diffstat (limited to 'tools/csr.h')
-rw-r--r--tools/csr.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/tools/csr.h b/tools/csr.h
index b96dd0f7..f29fc764 100644
--- a/tools/csr.h
+++ b/tools/csr.h
@@ -31,6 +31,9 @@
#define CSR_VARID_CHIPREV 0x281b
#define CSR_VARID_MAX_CRYPT_KEY_LENGTH 0x282c
+#define CSR_VARID_PANIC_ARG 0x6805
+#define CSR_VARID_FAULT_ARG 0x6806
+
#define CSR_PSKEY_HOSTIO_MAP_SCO_PCM 0x01ab
char *csr_buildidtostr(uint16_t id);