aboutsummaryrefslogtreecommitdiffstats
path: root/ports/ARM7-LPC214x
diff options
context:
space:
mode:
authorgdisirio <gdisirio@35acf78f-673a-0410-8e92-d51de3d6d3f4>2009-02-09 22:01:42 +0000
committergdisirio <gdisirio@35acf78f-673a-0410-8e92-d51de3d6d3f4>2009-02-09 22:01:42 +0000
commitc4c192b0273454e81cd9cb91441c747abaabf6ec (patch)
treeb72d16b1d89e48c7a49e021a9cfd6b996e883efb /ports/ARM7-LPC214x
parentd934612e314f638e07ea0ba8b233a30f4d7392c9 (diff)
downloadChibiOS-c4c192b0273454e81cd9cb91441c747abaabf6ec.tar.gz
ChibiOS-c4c192b0273454e81cd9cb91441c747abaabf6ec.tar.bz2
ChibiOS-c4c192b0273454e81cd9cb91441c747abaabf6ec.zip
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@750 35acf78f-673a-0410-8e92-d51de3d6d3f4
Diffstat (limited to 'ports/ARM7-LPC214x')
-rw-r--r--ports/ARM7-LPC214x/vectors.s24
1 files changed, 23 insertions, 1 deletions
diff --git a/ports/ARM7-LPC214x/vectors.s b/ports/ARM7-LPC214x/vectors.s
index 59bc99d2c..016a2f1de 100644
--- a/ports/ARM7-LPC214x/vectors.s
+++ b/ports/ARM7-LPC214x/vectors.s
@@ -34,7 +34,7 @@ _start:
ldr pc, _fiq
_reset:
- .word ResetHandler
+ .word ResetHandler /* In crt0.s */
_undefined:
.word UndHandler
_swi:
@@ -47,3 +47,25 @@ _fiq:
.word FiqHandler
.word 0
.word 0
+
+/*
+ * Default exceptions handlers. The handlers are declared weak in order to be
+ * replaced by the real handling code. Everything is defaulted to an infinite
+ * loop.
+ */
+.weak UndHandler
+UndHandler:
+
+.weak SwiHandler
+SwiHandler:
+
+.weak PrefetchHandler
+PrefetchHandler:
+
+.weak AbortHandler
+AbortHandler:
+
+.weak FiqHandler
+FiqHandler:
+
+.loop: b .loop