zephyr/arch/riscv32/core
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
..
offsets
Makefile cleanup: remove lots of references to unified kernel 2017-09-12 12:37:11 -04:00
cpu_idle.c kernel: remove all remaining references to nanokernel 2017-04-10 20:21:10 +00:00
fatal.c k_thread_abort(): assert if abort essential thread 2017-09-07 16:35:16 -07:00
irq_manage.c arch: convert to using newly introduced integer sized types 2017-04-21 12:08:12 +00:00
irq_offload.c
isr.S riscv32: fixed context restore upon exiting ISR 2017-06-30 06:31:51 -04:00
prep_c.c riscv32: fixed build warnings for obj_tracing 2017-03-06 21:57:53 +01:00
reset.S build: add _ASMLANGUAGE to all asm files 2017-01-24 13:34:51 +00:00
swap.S zephyr: use k_thread_entry_t everywhere 2017-09-11 11:18:22 -07:00
thread.c kernel: fix k_thread_stack_t definition 2017-10-17 08:24:29 -07:00