aboutsummaryrefslogtreecommitdiffstats
path: root/os/common/ports/e200
diff options
context:
space:
mode:
authorGiovanni Di Sirio <gdisirio@gmail.com>2015-11-23 13:12:43 +0000
committerGiovanni Di Sirio <gdisirio@gmail.com>2015-11-23 13:12:43 +0000
commitb3cde3102597b28a9e2b9ba1132ffe8c6c176ff1 (patch)
treef340d2ff359c6fbeb9a881aedd6061b11ee6feb4 /os/common/ports/e200
parentce5b8d63f626f1d97e60973aff42607a4979a45a (diff)
downloadChibiOS-b3cde3102597b28a9e2b9ba1132ffe8c6c176ff1.tar.gz
ChibiOS-b3cde3102597b28a9e2b9ba1132ffe8c6c176ff1.tar.bz2
ChibiOS-b3cde3102597b28a9e2b9ba1132ffe8c6c176ff1.zip
e200 CW port working, report added.
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@8521 35acf78f-673a-0410-8e92-d51de3d6d3f4
Diffstat (limited to 'os/common/ports/e200')
-rw-r--r--os/common/ports/e200/compilers/CW/unhandled.s23
-rw-r--r--os/common/ports/e200/devices/SPC560Dxx/boot_cw.s26
2 files changed, 27 insertions, 22 deletions
diff --git a/os/common/ports/e200/compilers/CW/unhandled.s b/os/common/ports/e200/compilers/CW/unhandled.s
index b1cf4d48d..8efb51dac 100644
--- a/os/common/ports/e200/compilers/CW/unhandled.s
+++ b/os/common/ports/e200/compilers/CW/unhandled.s
@@ -37,6 +37,29 @@
.section .text_vle
.align 4
+ .weak _IVOR0, _IVOR1, _IVOR2, _IVOR3, _IVOR4, _IVOR5
+ .weak _IVOR6, _IVOR7, _IVOR8, _IVOR9, _IVOR10, _IVOR11
+ .weak _IVOR12, _IVOR13, _IVOR14, _IVOR15
+_IVOR0:
+_IVOR1:
+_IVOR2:
+_IVOR3:
+_IVOR4:
+_IVOR5:
+_IVOR6:
+_IVOR7:
+_IVOR8:
+_IVOR9:
+_IVOR10:
+_IVOR11:
+_IVOR12:
+_IVOR13:
+_IVOR14:
+_IVOR15:
+ .global _unhandled_irq
+_unhandled_exception:
+ se_b _unhandled_exception
+
.weak vector0, vector1, vector2, vector3
#if PPC_NUM_VECTORS > 4
.weak vector4, vector5, vector6, vector7
diff --git a/os/common/ports/e200/devices/SPC560Dxx/boot_cw.s b/os/common/ports/e200/devices/SPC560Dxx/boot_cw.s
index 6f2e0fee4..362257abb 100644
--- a/os/common/ports/e200/devices/SPC560Dxx/boot_cw.s
+++ b/os/common/ports/e200/devices/SPC560Dxx/boot_cw.s
@@ -34,6 +34,10 @@
.extern __ram_end__
.extern __ivpr_base__
+ .extern _IVOR0, _IVOR1, _IVOR2, _IVOR3, _IVOR4, _IVOR5
+ .extern _IVOR6, _IVOR7, _IVOR8, _IVOR9, _IVOR10, _IVOR11
+ .extern _IVOR12, _IVOR13, _IVOR14, _IVOR15
+
/* BAM record.*/
.section .boot, 16
@@ -193,28 +197,6 @@ IVORS:
.section .handlers, text_vle
.align 16
- .weak _IVOR0, _IVOR1, _IVOR2, _IVOR3, _IVOR4, _IVOR5
- .weak _IVOR6, _IVOR7, _IVOR8, _IVOR9, _IVOR10, _IVOR11
- .weak _IVOR12, _IVOR13, _IVOR14, _IVOR15
- .weak _unhandled_exception
-_IVOR0:
-_IVOR1:
-_IVOR2:
-_IVOR3:
-_IVOR4:
-_IVOR5:
-_IVOR6:
-_IVOR7:
-_IVOR8:
-_IVOR9:
-_IVOR10:
-_IVOR11:
-_IVOR12:
-_IVOR13:
-_IVOR14:
-_IVOR15:
-_unhandled_exception:
- se_b _unhandled_exception
#endif /* !defined(__DOXYGEN__) */