aboutsummaryrefslogtreecommitdiffstats
path: root/os/rt
diff options
context:
space:
mode:
Diffstat (limited to 'os/rt')
-rw-r--r--os/rt/ports/e200/compilers/CW/chcoreasm.s4
-rw-r--r--os/rt/ports/e200/compilers/CW/ivor.s14
2 files changed, 14 insertions, 4 deletions
diff --git a/os/rt/ports/e200/compilers/CW/chcoreasm.s b/os/rt/ports/e200/compilers/CW/chcoreasm.s
index 69ab222fa..b33fb1ce2 100644
--- a/os/rt/ports/e200/compilers/CW/chcoreasm.s
+++ b/os/rt/ports/e200/compilers/CW/chcoreasm.s
@@ -50,8 +50,10 @@
#if !defined(__DOXYGEN__)
+ .extern chThdExit
+
#if PPC_USE_VLE == TRUE
- .section .text_vle, "ax"
+ .section .text_vle, 16
.align 2
.globl _port_switch
diff --git a/os/rt/ports/e200/compilers/CW/ivor.s b/os/rt/ports/e200/compilers/CW/ivor.s
index f08075a0c..ce1f79cc1 100644
--- a/os/rt/ports/e200/compilers/CW/ivor.s
+++ b/os/rt/ports/e200/compilers/CW/ivor.s
@@ -50,7 +50,15 @@
#if !defined(__DOXYGEN__)
- .section .handlers, "ax"
+ .extern _stats_start_measure_crit_thd
+ .extern _stats_stop_measure_crit_thd
+ .extern _dbg_check_lock
+ .extern _dbg_check_unlock
+ .extern chSchIsPreemptionRequired
+ .extern chSchDoReschedule
+ .extern chSysTimerHandlerI
+
+ .section .handlers, 16
#if PPC_USE_VLE == TRUE
@@ -58,7 +66,7 @@
/*
* _IVOR10 handler (Book-E decrementer).
*/
- .align 4
+ .align 16
.globl _IVOR10
.type _IVOR10, @function
_IVOR10:
@@ -108,7 +116,7 @@ _IVOR10:
/*
* _IVOR4 handler (Book-E external interrupt).
*/
- .align 4
+ .align 16
.globl _IVOR4
.type _IVOR4, @function
_IVOR4: