aboutsummaryrefslogtreecommitdiffstats
path: root/os/kernel/ports
diff options
context:
space:
mode:
authorgdisirio <gdisirio@35acf78f-673a-0410-8e92-d51de3d6d3f4>2013-08-07 13:37:27 +0000
committergdisirio <gdisirio@35acf78f-673a-0410-8e92-d51de3d6d3f4>2013-08-07 13:37:27 +0000
commit68ea680d84c9de5f17618321a8360dab67203677 (patch)
tree03e7e6fd60ee62e075b0e602b5e93cec3e54109f /os/kernel/ports
parent636f02da9083ed4ee8b5d2ca5662f70cb2af4909 (diff)
downloadChibiOS-68ea680d84c9de5f17618321a8360dab67203677.tar.gz
ChibiOS-68ea680d84c9de5f17618321a8360dab67203677.tar.bz2
ChibiOS-68ea680d84c9de5f17618321a8360dab67203677.zip
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/branches/kernel_3_dev@6098 35acf78f-673a-0410-8e92-d51de3d6d3f4
Diffstat (limited to 'os/kernel/ports')
-rw-r--r--os/kernel/ports/ARMCMx/compilers/GCC/chcoreasm_v7m.s11
1 files changed, 6 insertions, 5 deletions
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