zephyr/kernel/include
Andrew Boie c5c104f91e kernel: fix k_thread_stack_t definition
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>
2017-10-17 08:24:29 -07:00
..
gen_offset.h license: Replace Apache boilerplate with SPDX tag 2017-01-19 03:50:58 +00:00
kernel_offsets.h syscalls: greatly simplify system call declaration 2017-09-29 13:02:20 -07:00
kernel_structs.h userspace: allow thread IDs to be re-used 2017-10-16 16:16:28 -07:00
ksched.h userspace: de-initialize aborted threads 2017-10-16 16:16:28 -07:00
nano_internal.h kernel: fix k_thread_stack_t definition 2017-10-17 08:24:29 -07:00
offsets_short.h kernel/arch: streamline thread user options 2017-01-24 13:34:50 +00:00
syscall_handler.h userspace handlers: finer control of init state 2017-10-16 19:02:00 -07:00
timeout_q.h timer: k_timer_start should accept 0 as duration parameter. 2017-09-06 10:18:39 -07:00
wait_q.h Convert remaining code to using newly introduced integer sized types 2017-04-21 11:38:23 -05:00