Misplaced comment.

git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@13497 27425a3e-05d8-49a3-a47f-9c15f0e5edd8
This commit is contained in:
Giovanni Di Sirio 2020-04-02 06:10:57 +00:00
parent a0f0a8dc5e
commit 9958bc054f
11 changed files with 25 additions and 22 deletions

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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