aboutsummaryrefslogtreecommitdiffstats
path: root/os/common/ports/e200
diff options
context:
space:
mode:
authorGiovanni Di Sirio <gdisirio@gmail.com>2015-11-24 08:57:19 +0000
committerGiovanni Di Sirio <gdisirio@gmail.com>2015-11-24 08:57:19 +0000
commite12692b914e21d9628fd967c743b5eb5c4809212 (patch)
tree28d3c4ab6b1ebacf0d03dc03bdae83cf0dcecea0 /os/common/ports/e200
parent715d641750fa46a75607c9339078e4ff256b17af (diff)
downloadChibiOS-e12692b914e21d9628fd967c743b5eb5c4809212.tar.gz
ChibiOS-e12692b914e21d9628fd967c743b5eb5c4809212.tar.bz2
ChibiOS-e12692b914e21d9628fd967c743b5eb5c4809212.zip
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@8523 35acf78f-673a-0410-8e92-d51de3d6d3f4
Diffstat (limited to 'os/common/ports/e200')
-rw-r--r--os/common/ports/e200/compilers/CW/unhandled.s2
-rw-r--r--os/common/ports/e200/compilers/GCC/crt0.s3
-rw-r--r--os/common/ports/e200/compilers/GCC/vectors.s19
-rw-r--r--os/common/ports/e200/devices/SPC560BCxx/boot.s2
-rw-r--r--os/common/ports/e200/devices/SPC560Bxx/boot.s2
-rw-r--r--os/common/ports/e200/devices/SPC560Dxx/boot.s2
-rw-r--r--os/common/ports/e200/devices/SPC560Pxx/boot.s2
-rw-r--r--os/common/ports/e200/devices/SPC57EMxx_HSM/boot.s2
8 files changed, 25 insertions, 9 deletions
diff --git a/os/common/ports/e200/compilers/CW/unhandled.s b/os/common/ports/e200/compilers/CW/unhandled.s
index 8efb51dac..c129a92ed 100644
--- a/os/common/ports/e200/compilers/CW/unhandled.s
+++ b/os/common/ports/e200/compilers/CW/unhandled.s
@@ -56,7 +56,7 @@ _IVOR12:
_IVOR13:
_IVOR14:
_IVOR15:
- .global _unhandled_irq
+ .global _unhandled_exception
_unhandled_exception:
se_b _unhandled_exception
diff --git a/os/common/ports/e200/compilers/GCC/crt0.s b/os/common/ports/e200/compilers/GCC/crt0.s
index d035e4660..92a8642cb 100644
--- a/os/common/ports/e200/compilers/GCC/crt0.s
+++ b/os/common/ports/e200/compilers/GCC/crt0.s
@@ -224,21 +224,18 @@ _boot_address:
/* Default main exit code, infinite loop.*/
.weak __default_exit
- .globl __default_exit
.type __default_exit, @function
__default_exit:
b __default_exit
/* Default early initialization code, none.*/
.weak __early_init
- .globl __early_init
.type __early_init, @function
__early_init:
blr
/* Default late initialization code, none.*/
.weak __late_init
- .globl __late_init
.type __late_init, @function
__late_init:
blr
diff --git a/os/common/ports/e200/compilers/GCC/vectors.s b/os/common/ports/e200/compilers/GCC/vectors.s
index d04c42c0c..e142f1150 100644
--- a/os/common/ports/e200/compilers/GCC/vectors.s
+++ b/os/common/ports/e200/compilers/GCC/vectors.s
@@ -799,6 +799,15 @@ _vectors:
#if PPC_NUM_VECTORS > 1008
.long vector1008, vector1009, vector1010, vector1011
#endif
+#if PPC_NUM_VECTORS > 1012
+ .long vector1012, vector1013, vector1014, vector1015
+#endif
+#if PPC_NUM_VECTORS > 1016
+ .long vector1016, vector1017, vector1018, vector1019
+#endif
+#if PPC_NUM_VECTORS > 1020
+ .long vector1020, vector1021, vector1022, vector1023
+#endif
.text
.align 2
@@ -1560,6 +1569,15 @@ _vectors:
#if PPC_NUM_VECTORS > 1008
.weak vector1008, vector1009, vector1010, vector1011
#endif
+#if PPC_NUM_VECTORS > 1012
+ .weak vector1012, vector1013, vector1014, vector1015
+#endif
+#if PPC_NUM_VECTORS > 1016
+ .weak vector1016, vector1017, vector1018, vector1019
+#endif
+#if PPC_NUM_VECTORS > 1020
+ .weak vector1020, vector1021, vector1022, vector1023
+#endif
vector0:
vector1:
@@ -2585,6 +2603,7 @@ vector1020:
vector1021:
vector1022:
vector1023:
+ b _unhandled_irq
.weak _unhandled_irq
.type _unhandled_irq, @function
diff --git a/os/common/ports/e200/devices/SPC560BCxx/boot.s b/os/common/ports/e200/devices/SPC560BCxx/boot.s
index 6ad24a948..089095be2 100644
--- a/os/common/ports/e200/devices/SPC560BCxx/boot.s
+++ b/os/common/ports/e200/devices/SPC560BCxx/boot.s
@@ -194,7 +194,6 @@ IVORS:
.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:
@@ -209,6 +208,7 @@ _IVOR12:
_IVOR13:
_IVOR14:
_IVOR15:
+ .global _unhandled_exception
_unhandled_exception:
b _unhandled_exception
diff --git a/os/common/ports/e200/devices/SPC560Bxx/boot.s b/os/common/ports/e200/devices/SPC560Bxx/boot.s
index d745b4fe4..7cf3349e5 100644
--- a/os/common/ports/e200/devices/SPC560Bxx/boot.s
+++ b/os/common/ports/e200/devices/SPC560Bxx/boot.s
@@ -194,7 +194,6 @@ IVORS:
.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:
@@ -209,6 +208,7 @@ _IVOR12:
_IVOR13:
_IVOR14:
_IVOR15:
+ .global _unhandled_exception
_unhandled_exception:
b _unhandled_exception
diff --git a/os/common/ports/e200/devices/SPC560Dxx/boot.s b/os/common/ports/e200/devices/SPC560Dxx/boot.s
index 8d57eee1e..601f14f20 100644
--- a/os/common/ports/e200/devices/SPC560Dxx/boot.s
+++ b/os/common/ports/e200/devices/SPC560Dxx/boot.s
@@ -194,7 +194,6 @@ IVORS:
.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:
@@ -209,6 +208,7 @@ _IVOR12:
_IVOR13:
_IVOR14:
_IVOR15:
+ .global _unhandled_exception
_unhandled_exception:
b _unhandled_exception
diff --git a/os/common/ports/e200/devices/SPC560Pxx/boot.s b/os/common/ports/e200/devices/SPC560Pxx/boot.s
index 2dc5abbf5..cdbecf616 100644
--- a/os/common/ports/e200/devices/SPC560Pxx/boot.s
+++ b/os/common/ports/e200/devices/SPC560Pxx/boot.s
@@ -194,7 +194,6 @@ IVORS:
.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:
@@ -209,6 +208,7 @@ _IVOR12:
_IVOR13:
_IVOR14:
_IVOR15:
+ .global _unhandled_exception
_unhandled_exception:
b _unhandled_exception
diff --git a/os/common/ports/e200/devices/SPC57EMxx_HSM/boot.s b/os/common/ports/e200/devices/SPC57EMxx_HSM/boot.s
index eea2570eb..3aa286d58 100644
--- a/os/common/ports/e200/devices/SPC57EMxx_HSM/boot.s
+++ b/os/common/ports/e200/devices/SPC57EMxx_HSM/boot.s
@@ -188,7 +188,6 @@ IVOR15: b _IVOR15
.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:
@@ -203,6 +202,7 @@ _IVOR12:
_IVOR13:
_IVOR14:
_IVOR15:
+ .global _unhandled_exception
_unhandled_exception:
b _unhandled_exception