summaryrefslogtreecommitdiffstats
path: root/cpukit
diff options
context:
space:
mode:
authorRic Claus <claus@slac.stanford.edu>2012-11-30 16:12:59 -0800
committerSebastian Huber <sebastian.huber@embedded-brains.de>2012-12-01 09:04:33 +0100
commit809b726ae113ccef6bc2a2f206789e24dd6807d3 (patch)
treeb7c78328bd2111b777a533ecc9a6670e131f3107 /cpukit
parentVirtex5 BSP: Various updates and improvements. (diff)
downloadrtems-809b726ae113ccef6bc2a2f206789e24dd6807d3.tar.bz2
Print MCSR and ESR.
The Machine Check and Exception Syndrome Registers on Book-E and Book-E-like processors contain useful information for decoding the cause of an exception. NB: This patch depends on the PR 2048 patch sent earlier having been applied.
Diffstat (limited to 'cpukit')
-rw-r--r--cpukit/score/cpu/powerpc/rtems/powerpc/registers.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/cpukit/score/cpu/powerpc/rtems/powerpc/registers.h b/cpukit/score/cpu/powerpc/rtems/powerpc/registers.h
index 008e387571..7090203a02 100644
--- a/cpukit/score/cpu/powerpc/rtems/powerpc/registers.h
+++ b/cpukit/score/cpu/powerpc/rtems/powerpc/registers.h
@@ -299,6 +299,11 @@ lidate */
#define BOOKE_DECAR 54
+#define PPC405_MCSR 0x23C
+#define PPC405_ESR 0x3D4
+#define PPC405_DEAR 0x3D5
+#define BOOKE_DEAR 61
+
#define PPC405_TSR 0x3D8
#define BOOKE_TSR 336
#define BOOKE_TSR_ENW (1<<31)