openocd/src/rtos
Antonio Borneo 240943c65a rtos: use ARRAY_SIZE() and simplify rtos_type.create()
Use the existing macro ARRAY_SIZE().
Rewrite the functions rtos_type.create() to simplify the logic.

Change-Id: I8833354767045d1642801d26944c9087a77add00
Signed-off-by: Antonio Borneo <borneo.antonio@gmail.com>
Reviewed-on: http://openocd.zylin.com/6261
Tested-by: jenkins
2021-05-29 21:33:44 +01:00
..
chibios.c rtos: use ARRAY_SIZE() and simplify rtos_type.create() 2021-05-29 21:33:44 +01:00
chromium-ec.c rtos: Remove typedef'd struct 2021-03-10 21:29:52 +00:00
eCos.c rtos: use ARRAY_SIZE() and simplify rtos_type.create() 2021-05-29 21:33:44 +01:00
embKernel.c rtos: Remove typedef'd struct 2021-03-10 21:29:52 +00:00
FreeRTOS.c rtos: use ARRAY_SIZE() and simplify rtos_type.create() 2021-05-29 21:33:44 +01:00
hwthread.c rtos: Remove typedef'd struct 2021-03-10 21:29:52 +00:00
linux_header.h Make #include guard naming consistent 2016-05-24 22:30:55 +01:00
linux.c rtos: Remove typedef'd struct 2021-03-10 21:29:52 +00:00
Makefile.am rtos: Add support for Zephyr RTOS 2021-05-11 10:43:22 +01:00
mqx.c openocd: use macro ARRAY_SIZE() 2021-05-29 21:33:23 +01:00
nuttx_header.h rtos: add support for NuttX 2018-08-01 14:33:50 +01:00
nuttx.c openocd: use macro ARRAY_SIZE() 2021-05-29 21:33:23 +01:00
riot.c rtos: Remove typedef'd struct 2021-03-10 21:29:52 +00:00
rtos_chibios_stackings.c rtos: support gdb_get_register_packet 2018-10-16 11:58:03 +01:00
rtos_chibios_stackings.h Make #include guard naming consistent 2016-05-24 22:30:55 +01:00
rtos_ecos_stackings.c rtos: support gdb_get_register_packet 2018-10-16 11:58:03 +01:00
rtos_ecos_stackings.h Make #include guard naming consistent 2016-05-24 22:30:55 +01:00
rtos_embkernel_stackings.c coding style: src: remove empty lines at end of text files 2020-05-02 15:40:21 +01:00
rtos_embkernel_stackings.h Make #include guard naming consistent 2016-05-24 22:30:55 +01:00
rtos_mqx_stackings.c coding style: fix space separation 2020-07-08 22:08:08 +01:00
rtos_mqx_stackings.h Make #include guard naming consistent 2016-05-24 22:30:55 +01:00
rtos_riot_stackings.c rtos: add support for RIOT 2020-07-26 20:11:52 +01:00
rtos_riot_stackings.h rtos: add support for RIOT 2020-07-26 20:11:52 +01:00
rtos_standard_stackings.c rtos: support gdb_get_register_packet 2018-10-16 11:58:03 +01:00
rtos_standard_stackings.h Make #include guard naming consistent 2016-05-24 22:30:55 +01:00
rtos_ucos_iii_stackings.c esirisc: support eSi-RISC targets 2018-10-16 11:58:24 +01:00
rtos_ucos_iii_stackings.h esirisc: support eSi-RISC targets 2018-10-16 11:58:24 +01:00
rtos.c rtos: Add support for Zephyr RTOS 2021-05-11 10:43:22 +01:00
rtos.h rtos: Remove typedef'd struct 2021-03-10 21:29:52 +00:00
ThreadX.c rtos: use ARRAY_SIZE() and simplify rtos_type.create() 2021-05-29 21:33:44 +01:00
uCOS-III.c rtos: Remove typedef'd struct 2021-03-10 21:29:52 +00:00
zephyr.c rtos: Add support for Zephyr RTOS 2021-05-11 10:43:22 +01:00