zephyr/arch/riscv32
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
..
core kernel: fix k_thread_stack_t definition 2017-10-17 08:24:29 -07:00
include kernel: introduce opaque data type for stacks 2017-08-01 16:43:15 -07:00
soc arch: riscv32: define soc family in correct Kconfig 2017-10-03 08:43:50 -04:00
defconfig
Kbuild riscv32: added the riscv-privilege SOC_FAMILY 2017-03-20 23:19:35 +00:00
Kconfig riscv32: enable gen_isr_tables mechanism 2017-02-15 04:49:17 +00:00
Makefile riscv32: added the riscv-privilege SOC_FAMILY 2017-03-20 23:19:35 +00:00