Move the code that sets up the exception handlers

This commit is contained in:
TuxSH
2016-05-28 22:05:07 +02:00
parent 2424865fa1
commit 99d28c4f79
5 changed files with 46 additions and 38 deletions

View File

@@ -2,4 +2,11 @@
.align 4
.global _start
_start:
b main
add pc, r0, #(handlers - .) @ Dummy instruction to prevent compiler optimizations
handlers:
.word FIQHandler
.word undefinedInstructionHandler
.word prefetchAbortHandler
.word dataAbortHandler