From 4db0944ed00e6a31674c10d71d26d5d80f4d74d7 Mon Sep 17 00:00:00 2001 From: Giovanni Di Sirio Date: Thu, 19 Nov 2015 16:13:55 +0000 Subject: git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@8510 35acf78f-673a-0410-8e92-d51de3d6d3f4 --- os/rt/ports/e200/compilers/CW/chcoreasm.s | 4 +++- os/rt/ports/e200/compilers/CW/ivor.s | 14 +++++++++++--- 2 files changed, 14 insertions(+), 4 deletions(-) (limited to 'os/rt/ports') 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: -- cgit v1.2.3