zephyr/kernel/include
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
..
gen_offset.h headers: Fix headers guards 2018-09-17 15:49:26 -04:00
kernel_arch_interface.h kernel: update arch_switch_to_main_thread() 2020-07-30 21:11:14 -04:00
kernel_internal.h kernel: introduce supervisor-only stacks 2020-07-30 21:11:14 -04:00
kernel_offsets.h kernel: remove legacy fields in _kernel 2020-05-08 17:42:49 +02:00
ksched.h kernel: logging: convert K_DEBUG to LOG_DBG 2020-06-25 16:12:36 -05:00
kswap.h kernel: simplify dummy thread implementation 2020-05-13 21:23:52 +02:00
offsets_short.h kernel: remove legacy fields in _kernel 2020-05-08 17:42:49 +02:00