mirror of
https://github.com/zephyrproject-rtos/zephyr
synced 2025-08-25 09:25:22 +00:00
The main and idle threads, and their associated stacks, were being referenced in various parts of the kernel with no central definition. Expose these in kernel_internal.h and namespace with z_ appropriately. The main and idle threads were being defined statically, with another variable exposed to contain their pointer value. This wastes a bit of memory and isn't accessible to user threads anyway, just expose the actual thread objects. Redundance MAIN_STACK_SIZE and IDLE_STACK_SIZE defines in init.c removed, just use the Kconfigs they derive from. Signed-off-by: Andrew Boie <andrew.p.boie@intel.com> |
||
---|---|---|
.. | ||
src | ||
CMakeLists.txt | ||
prj.conf | ||
testcase.yaml |