zephyr/tests/kernel/threads
Andrew Boie 8ce260d8df kernel: introduce supervisor-only stacks
These stacks are appropriate for threads that run purely in
supervisor mode, and also as stacks for interrupt and exception
handling.

Two new arch defines are introduced:

- ARCH_KERNEL_STACK_GUARD_SIZE
- ARCH_KERNEL_STACK_OBJ_ALIGN

New public declaration macros:

- K_KERNEL_STACK_RESERVED
- K_KERNEL_STACK_EXTERN
- K_KERNEL_STACK_DEFINE
- K_KERNEL_STACK_ARRAY_DEFINE
- K_KERNEL_STACK_MEMBER
- K_KERNEL_STACK_SIZEOF

If user mode is not enabled, K_KERNEL_STACK_* and K_THREAD_STACK_*
are equivalent.

Separately generated privilege elevation stacks are now declared
like kernel stacks, removing the need for K_PRIVILEGE_STACK_ALIGN.

Signed-off-by: Andrew Boie <andrew.p.boie@intel.com>
2020-07-30 21:11:14 -04:00
..
dynamic_thread tests: make find_package(Zephyr...) REQUIRED 2020-05-29 10:47:25 +02:00
no-multithreading tests: make find_package(Zephyr...) REQUIRED 2020-05-29 10:47:25 +02:00
thread_apis zephyr: replace zephyr integer types with C99 types 2020-06-08 08:23:57 -05:00
thread_init zephyr: replace zephyr integer types with C99 types 2020-06-08 08:23:57 -05:00
thread_stack kernel: introduce supervisor-only stacks 2020-07-30 21:11:14 -04:00