riscv-openocd/src/rtos
James G. Smith d96dc47ef6 src/rtos/eCos : Support per-build configuration specific structure layouts
Extended feature. This is a large patch, but is self-contained to the
eCos support and does not affect any other openocd functionality. It
does NOT affect existing eCos RTOS plugin users where their
applications do not provide the extended symbolic helper
information. If the helper symbols are not available the rtos support
code will behave as before. This "dynamic" functionality is *required*
because eCos does NOT have a fixed/hardwired, known, layout for the
thread descriptor structure. The per-application build eCos
configuration can affect the shape of the thread descriptor structure
(field presence, and hence offsets of subsequent fields) such that
constant values cannot be used to consistently interpret all possible
eCos application configurations. For historical reasons, there is not
yet a consistent namespace for the helper symbols across eCos HALs
hence the support is currently limited to specific architectures
(Cortex-M and ARM/Cortex-A). No new Clang analyser warnings are raised
by this changeset.

Change-Id: Ib3a36877326eeb56595cbca55e21b9e59a59c98a
Signed-off-by: James G. Smith <jsmith@rallysmith.co.uk>
Reviewed-on: https://review.openocd.org/c/openocd/+/6275
Reviewed-by: Alex Schuilenburg <alex.schuilenburg@gmail.com>
Reviewed-by: Antonio Borneo <borneo.antonio@gmail.com>
Tested-by: jenkins
2023-01-15 14:51:21 +00:00
..
FreeRTOS.c nds32: drop it, together with aice adapter driver 2023-01-15 14:46:36 +00:00
Makefile.am openocd: build: add SPDX tag 2022-07-23 13:06:38 +00:00
ThreadX.c rtos/ThreadX: added check for NULL-named tasks 2022-11-15 21:35:12 +00:00
chibios.c openocd: fix SPDX tag format for files .c 2022-09-18 08:22:01 +00:00
chromium-ec.c openocd: fix SPDX tag format for files .c 2022-09-18 08:22:01 +00:00
eCos.c src/rtos/eCos : Support per-build configuration specific structure layouts 2023-01-15 14:51:21 +00:00
embKernel.c openocd: fix SPDX tag format for files .c 2022-09-18 08:22:01 +00:00
hwthread.c hwthread: Restore current_threadid in hwthread_update_threads 2022-12-03 09:26:29 +00:00
linux.c openocd: fix SPDX tag format for files .c 2022-09-18 08:22:01 +00:00
linux_header.h openocd: src: add GPL license tag on files that miss it 2022-07-23 13:13:39 +00:00
mqx.c openocd: fix SPDX tag format for files .c 2022-09-18 08:22:01 +00:00
nuttx.c openocd: fix SPDX tag format for files .c 2022-09-18 08:22:01 +00:00
nuttx_header.h openocd: src/rtos: replace the GPL-2.0-or-later license tag 2022-07-23 13:58:32 +00:00
riot.c openocd: fix SPDX tag format for files .c 2022-09-18 08:22:01 +00:00
rtos.c openocd: fix SPDX tag format for files .c 2022-09-18 08:22:01 +00:00
rtos.h openocd: src/rtos: replace the GPL-2.0-or-later license tag 2022-07-23 13:58:32 +00:00
rtos_chibios_stackings.c openocd: fix SPDX tag format for files .c 2022-09-18 08:22:01 +00:00
rtos_chibios_stackings.h openocd: src/rtos: replace the GPL-2.0-or-later license tag 2022-07-23 13:58:32 +00:00
rtos_ecos_stackings.c src/rtos/eCos : Support per-build configuration specific structure layouts 2023-01-15 14:51:21 +00:00
rtos_ecos_stackings.h openocd: src/rtos: replace the GPL-2.0-or-later license tag 2022-07-23 13:58:32 +00:00
rtos_embkernel_stackings.c openocd: fix SPDX tag format for files .c 2022-09-18 08:22:01 +00:00
rtos_embkernel_stackings.h openocd: src/rtos: replace the GPL-2.0-or-later license tag 2022-07-23 13:58:32 +00:00
rtos_mqx_stackings.c openocd: fix SPDX tag format for files .c 2022-09-18 08:22:01 +00:00
rtos_mqx_stackings.h openocd: src/rtos: replace the GPL-2.0-or-later license tag 2022-07-23 13:58:32 +00:00
rtos_riot_stackings.c openocd: fix SPDX tag format for files .c 2022-09-18 08:22:01 +00:00
rtos_riot_stackings.h openocd: src/rtos: replace the GPL-2.0-or-later license tag 2022-07-23 13:58:32 +00:00
rtos_standard_stackings.c nds32: drop it, together with aice adapter driver 2023-01-15 14:46:36 +00:00
rtos_standard_stackings.h nds32: drop it, together with aice adapter driver 2023-01-15 14:46:36 +00:00
rtos_ucos_iii_stackings.c openocd: fix SPDX tag format for files .c 2022-09-18 08:22:01 +00:00
rtos_ucos_iii_stackings.h openocd: src/rtos: replace the GPL-2.0-or-later license tag 2022-07-23 13:58:32 +00:00
uCOS-III.c openocd: fix SPDX tag format for files .c 2022-09-18 08:22:01 +00:00
zephyr.c openocd: fix SPDX tag format for files .c 2022-09-18 08:22:01 +00:00