summaryrefslogtreecommitdiffstats
path: root/sys/powerpc/include/spr.h
diff options
context:
space:
mode:
authorjhibbits <jhibbits@FreeBSD.org>2015-11-30 02:40:41 +0000
committerjhibbits <jhibbits@FreeBSD.org>2015-11-30 02:40:41 +0000
commit2ba33d63f5f142cc82b495d4da2b3e5af52009d1 (patch)
treeb43011c60de983fa03c58d8fa3be841374c516a1 /sys/powerpc/include/spr.h
parent8cc079e1d84f7c5a4aab0eb09f77b9c634f9c3a0 (diff)
downloadFreeBSD-src-2ba33d63f5f142cc82b495d4da2b3e5af52009d1.zip
FreeBSD-src-2ba33d63f5f142cc82b495d4da2b3e5af52009d1.tar.gz
Print machine check address for Book-E.
Bits in mcsr indicate if the address is valid, and whether it's a physical address or effective address. Sponsored by: Alex Perez/Inertial Computing
Diffstat (limited to 'sys/powerpc/include/spr.h')
-rw-r--r--sys/powerpc/include/spr.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/sys/powerpc/include/spr.h b/sys/powerpc/include/spr.h
index ab48a91..86dac97 100644
--- a/sys/powerpc/include/spr.h
+++ b/sys/powerpc/include/spr.h
@@ -652,7 +652,9 @@
#elif defined(BOOKE)
+#define SPR_MCARU 0x239 /* ..8 Machine Check Address register upper bits */
#define SPR_MCSR 0x23c /* ..8 Machine Check Syndrome register */
+#define SPR_MCAR 0x23d /* ..8 Machine Check Address register */
#define SPR_ESR 0x003e /* ..8 Exception Syndrome Register */
#define ESR_PIL 0x08000000 /* Program interrupt - illegal */
OpenPOWER on IntegriCloud