mirror of
https://github.com/zephyrproject-rtos/zephyr
synced 2025-09-08 04:52:43 +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> |
||
---|---|---|
.. | ||
boot_page_table | ||
common | ||
context | ||
critical | ||
device | ||
early_sleep | ||
fatal | ||
fifo | ||
fp_sharing | ||
gen_isr_table | ||
interrupt | ||
lifo | ||
mbox | ||
mem_heap/mheap_api_concept | ||
mem_pool | ||
mem_protect | ||
mem_slab | ||
mp | ||
msgq/msgq_api | ||
mutex | ||
obj_tracing | ||
pending | ||
pipe | ||
poll | ||
profiling/profiling_api | ||
queue | ||
sched | ||
semaphore | ||
sleep | ||
smp | ||
spinlock | ||
stack | ||
threads | ||
tickless | ||
timer | ||
workq | ||
xip |