c5c104f91e
Currently this is defined as a k_thread_stack_t pointer. However this isn't correct, stacks are defined as arrays. Extern references to k_thread_stack_t doesn't work properly as the compiler treats it as a pointer to the stack array and not the array itself. Declaring as an unsized array of k_thread_stack_t doesn't work well either. The least amount of confusion is to leave out the pointer/array status completely, use pointers for function prototypes, and define K_THREAD_STACK_EXTERN() to properly create an extern reference. The definitions for all functions and struct that use k_thread_stack_t need to be updated, but code that uses them should be unchanged. Signed-off-by: Andrew Boie <andrew.p.boie@intel.com> |
||
---|---|---|
.. | ||
offsets | ||
startup | ||
Makefile | ||
atomic.S | ||
cpu_idle.c | ||
crt1.S | ||
fatal.c | ||
irq_manage.c | ||
irq_offload.c | ||
swap.S | ||
thread.c | ||
xt_zephyr.S | ||
xtensa_context.S | ||
xtensa_intr.c | ||
xtensa_intr_asm.S | ||
xtensa_vectors.S |