From 68ea680d84c9de5f17618321a8360dab67203677 Mon Sep 17 00:00:00 2001 From: gdisirio Date: Wed, 7 Aug 2013 13:37:27 +0000 Subject: git-svn-id: svn://svn.code.sf.net/p/chibios/svn/branches/kernel_3_dev@6098 35acf78f-673a-0410-8e92-d51de3d6d3f4 --- os/kernel/ports/ARMCMx/compilers/GCC/chcoreasm_v7m.s | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) (limited to 'os/kernel/ports') diff --git a/os/kernel/ports/ARMCMx/compilers/GCC/chcoreasm_v7m.s b/os/kernel/ports/ARMCMx/compilers/GCC/chcoreasm_v7m.s index 6968e3819..37060b748 100644 --- a/os/kernel/ports/ARMCMx/compilers/GCC/chcoreasm_v7m.s +++ b/os/kernel/ports/ARMCMx/compilers/GCC/chcoreasm_v7m.s @@ -31,11 +31,11 @@ #include "chcore.h" #if !defined(FALSE) || defined(__DOXYGEN__) -#define FALSE 0 +#define FALSE 0 #endif #if !defined(TRUE) || defined(__DOXYGEN__) -#define TRUE 1 +#define TRUE 1 #endif #if !defined(__DOXYGEN__) @@ -56,7 +56,7 @@ * Performs a context switch between two threads. *--------------------------------------------------------------------------*/ .thumb_func - .globl _port_switch + .globl _port_switch _port_switch: push {r4, r5, r6, r7, r8, r9, r10, r11, lr} #if CORTEX_USE_FPU @@ -78,7 +78,7 @@ _port_switch: * called on thread function return. *--------------------------------------------------------------------------*/ .thumb_func - .globl _port_thread_start + .globl _port_thread_start _port_thread_start: #if CH_DBG_SYSTEM_STATE_CHECK bl dbg_check_unlock @@ -98,7 +98,7 @@ _port_thread_start: * Exception handlers return here for context switching. *--------------------------------------------------------------------------*/ .thumb_func - .globl _port_switch_from_isr + .globl _port_switch_from_isr _port_switch_from_isr: #if CH_DBG_STATISTICS bl _stats_start_measure_crit_thd @@ -113,6 +113,7 @@ _port_switch_from_isr: #if CH_DBG_STATISTICS bl _stats_stop_measure_crit_thd #endif + .globl _port_exit_from_isr _port_exit_from_isr: #if CORTEX_SIMPLIFIED_PRIORITY mov r3, #SCB_ICSR :AND: 0xFFFF -- cgit v1.2.3