From 9958bc054f9fb8c507f3f543f62c74bee1cc7a1a Mon Sep 17 00:00:00 2001 From: Giovanni Di Sirio Date: Thu, 2 Apr 2020 06:10:57 +0000 Subject: [PATCH] Misplaced comment. git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@13497 27425a3e-05d8-49a3-a47f-9c15f0e5edd8 --- os/common/ports/ARM/compilers/GCC/chcoreasm.S | 4 ++-- os/common/ports/ARMCMx/compilers/GCC/chcoreasm_v6m.S | 4 ++-- os/common/ports/ARMCMx/compilers/GCC/chcoreasm_v7m.S | 4 ++-- os/common/ports/ARMCMx/compilers/IAR/chcoreasm_v6m.s | 4 ++-- os/common/ports/ARMCMx/compilers/IAR/chcoreasm_v7m.s | 4 ++-- os/common/ports/ARMCMx/compilers/RVCT/chcoreasm_v6m.s | 4 ++-- os/common/ports/ARMCMx/compilers/RVCT/chcoreasm_v7m.s | 4 ++-- os/common/ports/ARMv8-M-ML/compilers/GCC/chcoreasm.S | 4 ++-- os/common/ports/e200/compilers/CW/chcoreasm.s | 7 +++++-- os/common/ports/e200/compilers/GCC/chcoreasm.S | 4 ++-- os/common/ports/e200/compilers/GHS/chcoreasm.s | 4 ++-- 11 files changed, 25 insertions(+), 22 deletions(-) diff --git a/os/common/ports/ARM/compilers/GCC/chcoreasm.S b/os/common/ports/ARM/compilers/GCC/chcoreasm.S index 4aeb31680..6ff50cbfa 100644 --- a/os/common/ports/ARM/compilers/GCC/chcoreasm.S +++ b/os/common/ports/ARM/compilers/GCC/chcoreasm.S @@ -43,12 +43,12 @@ #define CURRENT_OFFSET 20 /* ch.rlist.current */ #define CONTEXT_OFFSET 20 #else -#define CURRENT_OFFSET 12 /* nil.current */ +#define CURRENT_OFFSET 12 #define CONTEXT_OFFSET 12 #endif #elif defined(_CHIBIOS_NIL_CONF_) -#define CURRENT_OFFSET 0 +#define CURRENT_OFFSET 0 /* nil.current */ #define CONTEXT_OFFSET 0 #else diff --git a/os/common/ports/ARMCMx/compilers/GCC/chcoreasm_v6m.S b/os/common/ports/ARMCMx/compilers/GCC/chcoreasm_v6m.S index 1aed6b558..52631869f 100644 --- a/os/common/ports/ARMCMx/compilers/GCC/chcoreasm_v6m.S +++ b/os/common/ports/ARMCMx/compilers/GCC/chcoreasm_v6m.S @@ -48,12 +48,12 @@ #define CURRENT_OFFSET 20 /* ch.rlist.current */ #define CONTEXT_OFFSET 20 #else -#define CURRENT_OFFSET 12 /* nil.current */ +#define CURRENT_OFFSET 12 #define CONTEXT_OFFSET 12 #endif #elif defined(_CHIBIOS_NIL_CONF_) -#define CURRENT_OFFSET 0 +#define CURRENT_OFFSET 0 /* nil.current */ #define CONTEXT_OFFSET 0 #else diff --git a/os/common/ports/ARMCMx/compilers/GCC/chcoreasm_v7m.S b/os/common/ports/ARMCMx/compilers/GCC/chcoreasm_v7m.S index 95a09f18a..ffe81108c 100644 --- a/os/common/ports/ARMCMx/compilers/GCC/chcoreasm_v7m.S +++ b/os/common/ports/ARMCMx/compilers/GCC/chcoreasm_v7m.S @@ -48,12 +48,12 @@ #define CURRENT_OFFSET 20 /* ch.rlist.current */ #define CONTEXT_OFFSET 20 #else -#define CURRENT_OFFSET 12 /* nil.current */ +#define CURRENT_OFFSET 12 #define CONTEXT_OFFSET 12 #endif #elif defined(_CHIBIOS_NIL_CONF_) -#define CURRENT_OFFSET 0 +#define CURRENT_OFFSET 0 /* nil.current */ #define CONTEXT_OFFSET 0 #else diff --git a/os/common/ports/ARMCMx/compilers/IAR/chcoreasm_v6m.s b/os/common/ports/ARMCMx/compilers/IAR/chcoreasm_v6m.s index 483b6b5bf..3a8d61ab4 100644 --- a/os/common/ports/ARMCMx/compilers/IAR/chcoreasm_v6m.s +++ b/os/common/ports/ARMCMx/compilers/IAR/chcoreasm_v6m.s @@ -48,12 +48,12 @@ #define CURRENT_OFFSET 20 /* ch.rlist.current */ #define CONTEXT_OFFSET 20 #else -#define CURRENT_OFFSET 12 /* nil.current */ +#define CURRENT_OFFSET 12 #define CONTEXT_OFFSET 12 #endif #elif defined(_CHIBIOS_NIL_CONF_) -#define CURRENT_OFFSET 0 +#define CURRENT_OFFSET 0 /* nil.current */ #define CONTEXT_OFFSET 0 #else diff --git a/os/common/ports/ARMCMx/compilers/IAR/chcoreasm_v7m.s b/os/common/ports/ARMCMx/compilers/IAR/chcoreasm_v7m.s index ab05bfd90..87304a97b 100644 --- a/os/common/ports/ARMCMx/compilers/IAR/chcoreasm_v7m.s +++ b/os/common/ports/ARMCMx/compilers/IAR/chcoreasm_v7m.s @@ -48,12 +48,12 @@ #define CURRENT_OFFSET 20 /* ch.rlist.current */ #define CONTEXT_OFFSET 20 #else -#define CURRENT_OFFSET 12 /* nil.current */ +#define CURRENT_OFFSET 12 #define CONTEXT_OFFSET 12 #endif #elif defined(_CHIBIOS_NIL_CONF_) -#define CURRENT_OFFSET 0 +#define CURRENT_OFFSET 0 /* nil.current */ #define CONTEXT_OFFSET 0 #else diff --git a/os/common/ports/ARMCMx/compilers/RVCT/chcoreasm_v6m.s b/os/common/ports/ARMCMx/compilers/RVCT/chcoreasm_v6m.s index f2a9a7715..85c3ffff8 100644 --- a/os/common/ports/ARMCMx/compilers/RVCT/chcoreasm_v6m.s +++ b/os/common/ports/ARMCMx/compilers/RVCT/chcoreasm_v6m.s @@ -48,12 +48,12 @@ #define CURRENT_OFFSET 20 /* ch.rlist.current */ #define CONTEXT_OFFSET 20 #else -#define CURRENT_OFFSET 12 /* nil.current */ +#define CURRENT_OFFSET 12 #define CONTEXT_OFFSET 12 #endif #elif defined(_CHIBIOS_NIL_CONF_) -#define CURRENT_OFFSET 0 +#define CURRENT_OFFSET 0 /* nil.current */ #define CONTEXT_OFFSET 0 #else diff --git a/os/common/ports/ARMCMx/compilers/RVCT/chcoreasm_v7m.s b/os/common/ports/ARMCMx/compilers/RVCT/chcoreasm_v7m.s index 5a7e5c16b..ee151fb9f 100644 --- a/os/common/ports/ARMCMx/compilers/RVCT/chcoreasm_v7m.s +++ b/os/common/ports/ARMCMx/compilers/RVCT/chcoreasm_v7m.s @@ -48,12 +48,12 @@ #define CURRENT_OFFSET 20 /* ch.rlist.current */ #define CONTEXT_OFFSET 20 #else -#define CURRENT_OFFSET 12 /* nil.current */ +#define CURRENT_OFFSET 12 #define CONTEXT_OFFSET 12 #endif #elif defined(_CHIBIOS_NIL_CONF_) -#define CURRENT_OFFSET 0 +#define CURRENT_OFFSET 0 /* nil.current */ #define CONTEXT_OFFSET 0 #else diff --git a/os/common/ports/ARMv8-M-ML/compilers/GCC/chcoreasm.S b/os/common/ports/ARMv8-M-ML/compilers/GCC/chcoreasm.S index cc182c1fd..5a12a8f88 100644 --- a/os/common/ports/ARMv8-M-ML/compilers/GCC/chcoreasm.S +++ b/os/common/ports/ARMv8-M-ML/compilers/GCC/chcoreasm.S @@ -48,12 +48,12 @@ #define CURRENT_OFFSET 20 /* ch.rlist.current */ #define CONTEXT_OFFSET 20 #else -#define CURRENT_OFFSET 12 /* nil.current */ +#define CURRENT_OFFSET 12 #define CONTEXT_OFFSET 12 #endif #elif defined(_CHIBIOS_NIL_CONF_) -#define CURRENT_OFFSET 0 +#define CURRENT_OFFSET 0 /* nil.current */ #define CONTEXT_OFFSET 0 #else diff --git a/os/common/ports/e200/compilers/CW/chcoreasm.s b/os/common/ports/e200/compilers/CW/chcoreasm.s index 69b992eb6..ad4037318 100644 --- a/os/common/ports/e200/compilers/CW/chcoreasm.s +++ b/os/common/ports/e200/compilers/CW/chcoreasm.s @@ -51,17 +51,20 @@ #if !defined(__DOXYGEN__) +/* + * RTOS-specific context offset. + */ #if defined(_CHIBIOS_RT_CONF_) #if CH_CFG_USE_REGISTRY #define CURRENT_OFFSET 20 /* ch.rlist.current */ #define CONTEXT_OFFSET 20 #else -#define CURRENT_OFFSET 12 /* nil.current */ +#define CURRENT_OFFSET 12 #define CONTEXT_OFFSET 12 #endif #elif defined(_CHIBIOS_NIL_CONF_) -#define CURRENT_OFFSET 0 +#define CURRENT_OFFSET 0 /* nil.current */ #define CONTEXT_OFFSET 0 #else diff --git a/os/common/ports/e200/compilers/GCC/chcoreasm.S b/os/common/ports/e200/compilers/GCC/chcoreasm.S index 22768ade3..f9e4c6774 100644 --- a/os/common/ports/e200/compilers/GCC/chcoreasm.S +++ b/os/common/ports/e200/compilers/GCC/chcoreasm.S @@ -60,12 +60,12 @@ #define CURRENT_OFFSET 20 /* ch.rlist.current */ #define CONTEXT_OFFSET 20 #else -#define CURRENT_OFFSET 12 /* nil.current */ +#define CURRENT_OFFSET 12 #define CONTEXT_OFFSET 12 #endif #elif defined(_CHIBIOS_NIL_CONF_) -#define CURRENT_OFFSET 0 +#define CURRENT_OFFSET 0 /* nil.current */ #define CONTEXT_OFFSET 0 #else diff --git a/os/common/ports/e200/compilers/GHS/chcoreasm.s b/os/common/ports/e200/compilers/GHS/chcoreasm.s index bab08c41c..88a57f00d 100644 --- a/os/common/ports/e200/compilers/GHS/chcoreasm.s +++ b/os/common/ports/e200/compilers/GHS/chcoreasm.s @@ -56,12 +56,12 @@ #define CURRENT_OFFSET 20 /* ch.rlist.current */ #define CONTEXT_OFFSET 20 #else -#define CURRENT_OFFSET 12 /* nil.current */ +#define CURRENT_OFFSET 12 #define CONTEXT_OFFSET 12 #endif #elif defined(_CHIBIOS_NIL_CONF_) -#define CURRENT_OFFSET 0 +#define CURRENT_OFFSET 0 /* nil.current */ #define CONTEXT_OFFSET 0 #else