zephyr/modules
Andy Ross 7cdf40541b kernel/sched: Eliminate PRESTART thread state
Traditionally threads have been initialized with a PRESTART flag set,
which gets cleared when the thread runs for the first time via either
its timeout or the k_thread_start() API.

But if you think about it, this is no different, semantically, than
SUSPENDED: the thread is prevented from running until the flag is
cleared.

So unify the two.  Start threads in the SUSPENDED state, point
everyone looking at the PRESTART bit to the SUSPENDED flag, and make
k_thread_start() be a synonym for k_thread_resume().

There is some mild code size savings from the eliminated duplication,
but the real win here is that we make space in the thread flags byte,
which had run out.

Signed-off-by: Andy Ross <andyross@google.com>
2024-11-27 10:38:05 -05:00
..
acpica modules: acpica: Fix CMakeLists.txt style 2023-11-08 15:12:02 +00:00
canopennode modules: canopennode: add rxmsg callback 2024-10-16 12:26:40 +02:00
cmsis arch: arm: cleanup of soc flags in arch 2024-11-16 15:56:11 -05:00
cmsis-dsp manifest: update cmsis-dsp to v1.16.2 2024-11-25 14:42:07 +01:00
cmsis-nn modules: cmsis-nn: add *_s4.c sources 2024-06-28 07:50:12 -04:00
fatfs fs: fatfs: additional ELM FAT options 2024-10-11 13:20:08 -04:00
hal_ambiq drivers: udc_ambiq: Implemented UDC driver for apollo4p 2024-11-16 15:07:29 -05:00
hal_ethos_u modules: hal_ethos_u: add support for log level NONE 2024-03-21 09:07:35 +01:00
hal_gigadevice modules: hal_gigadevice: use CONFIG_${ARCH} to select components 2024-01-10 15:05:54 +01:00
hal_infineon kernel/sched: Eliminate PRESTART thread state 2024-11-27 10:38:05 -05:00
hal_nordic modules: hal_nordic: Allow app mem from net core in serialized 802.15.4 2024-11-26 14:46:47 +00:00
hal_nxp modules: hal_nxp: osa: Remove deprecated OSA API 2024-10-25 08:54:18 +02:00
hal_rpi_pico modules: hal_rpi_pico: Update to fit for 2.0.0 directory structure 2024-10-08 06:01:23 -04:00
hal_silabs soc: silabs: Only initialize HFXO Manager if HFXO is enabled 2024-10-25 14:09:36 +02:00
hal_st drivers: sensor: lis2dux12: Add lis2dux12 driver 2024-04-04 09:45:49 +01:00
hal_wch west: add the hal_wch 2024-11-26 14:41:46 +00:00
hostap modules: hostap: Move Enterprise configs under Enterprise 2024-11-26 10:36:11 +00:00
liblc3 modules libc3: Add missing Kconfig dependency 2023-11-06 10:10:27 +01:00
littlefs
loramac-node lorawan: services: frag transport: prepare for pluggable decoder 2024-06-11 16:09:23 +03:00
lvgl boards: fix dependency for LV_COLOR_SWAP_16 to use configdefault 2024-11-21 09:19:19 +01:00
lz4 modules: lz4: add configurability 2024-11-22 22:46:59 +00:00
mbedtls mbedtls: add Kconfig to select the number of key slot in PSA Crypto core 2024-11-26 00:12:56 +01:00
nanopb modules: nanopb: Pull upstream fixes 2024-05-07 21:22:43 -04:00
nrf_wifi nrf_wifi: Move shim files from driver to module 2024-11-25 17:43:34 +01:00
openthread modules: openthread: Add of spinel hdlc rcp host interface 2024-11-27 10:37:21 -05:00
percepio modules: percepio: Fix python executable name 2024-08-28 06:49:27 -04:00
segger modules: segger: remove mutex locking 2024-11-07 11:06:45 -08:00
tflite-micro modules: tflite-micro: add batch_matmul.cc to cmakelists.txt 2024-09-18 09:56:06 +02:00
thrift thrift: Define module-wide _POSIX_C_SOURCE feature test macro 2024-10-22 20:40:20 +02:00
trusted-firmware-a
trusted-firmware-m boards: mps3: Add support for corstone310/an555 2024-10-26 03:58:05 +01:00
uoscore-uedhoc tf-m: Change NS include path for TF-M 2.0.0 2024-01-17 16:52:52 +01:00
zcbor zcbor: Kconfig: Clarify docs for the ZCBOR_STOP_ON_ERROR config 2024-10-25 22:47:53 +01:00
Kconfig modules: hal_silabs: Move CMake and Kconfig to the main tree 2024-10-22 20:41:23 +02:00
Kconfig.altera
Kconfig.atmel hwmv2: Introduce Hardware model version 2 and convert devices 2024-03-02 16:56:33 -05:00
Kconfig.chre modules: define few undefined but referenced symbols 2023-07-05 09:11:02 +02:00
Kconfig.cypress
Kconfig.eos_s3
Kconfig.esp32 modules: Kconfig: Provide default definitions for modules with blobs 2024-09-16 10:07:13 +02:00
Kconfig.imx hwmv2: Introduce Hardware model version 2 and convert devices 2024-03-02 16:56:33 -05:00
Kconfig.infineon drivers: rtc: Add RTC driver for Infineon XMC4xxx devices 2024-09-04 09:54:52 +02:00
Kconfig.intel ish: add module Kconfig for Intel HAL 2023-07-28 17:49:09 +02:00
Kconfig.libmetal modules: libmetal: Options only when module is available 2023-10-24 10:53:24 +02:00
Kconfig.mcuboot mcuboot: Add support for RAM load mode 2024-10-11 13:19:39 -04:00
Kconfig.mcux soc: nxp: rw: Introduce HAS_NXP_MONOLITHIC_BT config 2024-10-18 17:45:07 +01:00
Kconfig.microchip soc: microchip: mec: Add new HAL based MEC5 family chips 2024-05-21 16:45:30 -04:00
Kconfig.nuvoton drivers: usb_c: numaker: support Nuvoton's M2L31 series 2024-08-01 12:38:53 +02:00
Kconfig.nxp_s32 soc: nxp_s32: rename family to SOC_FAMILY_NXP_S32 2023-08-16 10:21:26 +02:00
Kconfig.open-amp modules: openamp: Options only when module is available 2023-10-24 10:53:24 +02:00
Kconfig.picolibc modules: define few undefined but referenced symbols 2023-07-05 09:11:02 +02:00
Kconfig.renesas_fsp drivers: spi: Add support SPI driver for Renesas RA6, RA4, RA2 2024-11-25 01:02:35 +01:00
Kconfig.rust modules: Add placeholder for CONFIG_RUST 2024-09-26 17:46:27 -04:00
Kconfig.simplelink posix: deprecate PTHREAD_IPC _MUTEX _COND and _KEY 2024-06-04 16:27:12 -05:00
Kconfig.sof modules: sof: Options only when module is available 2023-10-24 10:53:24 +02:00
Kconfig.stm32 modules: Kconfig: Provide default definitions for modules with blobs 2024-09-16 10:07:13 +02:00
Kconfig.sysbuild
Kconfig.syst modules: mipi-syst: support minimal C library 2023-06-17 07:31:26 -04:00
Kconfig.telink
Kconfig.tinycrypt Revert "tinycrypt: deprecate the library" 2024-11-08 22:29:08 -06:00
Kconfig.vega hwmv2: Introduce Hardware model version 2 and convert devices 2024-03-02 16:56:33 -05:00
Kconfig.wurthelektronik
Kconfig.xtensa
modules.cmake