summaryrefslogtreecommitdiffstats
path: root/bsps/microblaze/shared/start/start.S
diff options
context:
space:
mode:
Diffstat (limited to 'bsps/microblaze/shared/start/start.S')
-rw-r--r--bsps/microblaze/shared/start/start.S14
1 files changed, 12 insertions, 2 deletions
diff --git a/bsps/microblaze/shared/start/start.S b/bsps/microblaze/shared/start/start.S
index 97250f9316..e9aaa706e5 100644
--- a/bsps/microblaze/shared/start/start.S
+++ b/bsps/microblaze/shared/start/start.S
@@ -46,7 +46,7 @@
# 0x14 # Hardware Interrupt _interrupt_handler
# 0x18 # (-- IMM --)
- # 0x1C # Breakpoint Exception (-- Don't Care --)
+ # 0x1C # Breakpoint Exception _debug_sw_break_handler
# 0x20 # (-- IMM --)
# 0x24 # Hardware Exception _hw_exception_handler
@@ -73,10 +73,20 @@ _vector_sw_exception:
_vector_interrupt:
brai _interrupt_handler
+ .section .vectors.debug_sw_break, "ax"
+ .align 2
+_vector_debug_sw_break:
+ brai _debug_sw_break_handler
+
.section .vectors.hw_exception, "ax"
.align 2
_vector_hw_exception:
- brai _hw_exception_handler
+/*
+ * Hardware and software exceptions are handled identically with the MSR[EiP]
+ * bit differentiating them and determining which register should be used for
+ * return.
+ */
+ brai _exception_handler
.section .text
.globl _start1