summaryrefslogtreecommitdiffstats
path: root/sys/powerpc/aim
diff options
context:
space:
mode:
authorjhibbits <jhibbits@FreeBSD.org>2013-04-05 04:53:43 +0000
committerjhibbits <jhibbits@FreeBSD.org>2013-04-05 04:53:43 +0000
commit6de9f1bf18bf0278d78d5ff6271b822e1276007a (patch)
tree5ec53b7d8e6f14d2d65488e14ba20c198cbceeee /sys/powerpc/aim
parent7d7f55d53dee9c37ae83f55e3793720b4921ebad (diff)
downloadFreeBSD-src-6de9f1bf18bf0278d78d5ff6271b822e1276007a.zip
FreeBSD-src-6de9f1bf18bf0278d78d5ff6271b822e1276007a.tar.gz
Print out DSISR in a fatal DSI trap.
Sponsored by:
Diffstat (limited to 'sys/powerpc/aim')
-rw-r--r--sys/powerpc/aim/trap.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/sys/powerpc/aim/trap.c b/sys/powerpc/aim/trap.c
index 9a496fe..97f4ca1 100644
--- a/sys/powerpc/aim/trap.c
+++ b/sys/powerpc/aim/trap.c
@@ -385,6 +385,8 @@ printtrap(u_int vector, struct trapframe *frame, int isfatal, int user)
case EXC_DSI:
printf(" virtual address = 0x%" PRIxPTR "\n",
frame->cpu.aim.dar);
+ printf(" dsisr = 0x%" PRIxPTR "\n",
+ frame->cpu.aim.dsisr);
break;
case EXC_ISE:
case EXC_ISI:
OpenPOWER on IntegriCloud