microblaze: Report priviledged or stack protection exception
authorMichal Simek <michal.simek@xilinx.com>
Mon, 20 Jan 2014 20:17:07 +0000 (21:17 +0100)
committerMichal Simek <michal.simek@xilinx.com>
Tue, 4 Feb 2014 15:39:25 +0000 (16:39 +0100)
Just list one more exception.

Signed-off-by: Michal Simek <michal.simek@xilinx.com>
arch/microblaze/cpu/exception.c

index 9218355ae116cc2fca9610e90bff416756fa7ed0..227842f6a483a585a36574fa5857557c00affc61 100644 (file)
@@ -35,6 +35,9 @@ void _hw_exception_handler (void)
                puts ("Divide by zero exception\n");
                break;
 #ifdef MICROBLAZE_V5
+       case 0x7:
+               puts("Priviledged or stack protection violation exception\n");
+               break;
        case 0x1000:
                puts ("Exception in delay slot\n");
                break;