From: batt Date: Fri, 3 Dec 2010 14:51:51 +0000 (+0000) Subject: Change to a more readable name. X-Git-Tag: 2.7.0~327 X-Git-Url: https://codewiz.org/gitweb?a=commitdiff_plain;h=40896f7f61cb41a2bac0ceb519e5022e84e22c93;p=bertos.git Change to a more readable name. git-svn-id: https://src.develer.com/svnoss/bertos/trunk@4610 38d2e660-2303-0410-9eaa-f027e97ec537 --- diff --git a/bertos/cpu/frame.h b/bertos/cpu/frame.h index f7eac47e..117667e4 100644 --- a/bertos/cpu/frame.h +++ b/bertos/cpu/frame.h @@ -164,7 +164,7 @@ #elif CPU_CM3 #if CONFIG_KERN_PREEMPT - INLINE void asm_switch_context(cpu_stack_t **new_sp, cpu_stack_t **old_sp) + INLINE void cm3_preempt_switch_context(cpu_stack_t **new_sp, cpu_stack_t **old_sp) { register cpu_stack_t **__new_sp asm ("r0") = new_sp; register cpu_stack_t **__old_sp asm ("r1") = old_sp; @@ -172,7 +172,7 @@ asm volatile ("svc #0" : : "r"(__new_sp), "r"(__old_sp) : "memory", "cc"); } - #define asm_switch_context asm_switch_context + #define asm_switch_context cm3_preempt_switch_context #define CPU_PUSH_CALL_FRAME(sp, func) \ do { \