[U-Boot] [PATCH 2/4] microblaze: Report priviledged or stack protection exception

Michal Simek michal.simek at xilinx.com
Tue Jan 21 17:21:03 CET 2014


Just list one more exception.

Signed-off-by: Michal Simek <michal.simek at xilinx.com>
---

 arch/microblaze/cpu/exception.c | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/arch/microblaze/cpu/exception.c b/arch/microblaze/cpu/exception.c
index 9218355..227842f 100644
--- a/arch/microblaze/cpu/exception.c
+++ b/arch/microblaze/cpu/exception.c
@@ -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;
--
1.8.2.3

-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 198 bytes
Desc: not available
URL: <http://lists.denx.de/pipermail/u-boot/attachments/20140121/6bbc564f/attachment.pgp>


More information about the U-Boot mailing list