zephyr/tests/kernel
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
..
common
context
device tests: device: remove whitelisting 2020-07-30 08:00:03 -04:00
early_sleep
fatal
fifo
fpu_sharing
gen_isr_table tests: kernel: gen_isr_table: extend test for Cortex-M Baseline 2020-07-27 11:11:48 +02:00
interrupt
lifo
mbox
mem_heap/mheap_api_concept tests: memory allocation: add test case 2020-07-14 19:36:56 -04:00
mem_pool
mem_protect tests: move stacks testing to its own application 2020-07-30 21:11:14 -04:00
mem_slab tests: mslab_threadsafe: cleanup 2020-07-17 11:38:18 +02:00
mp tests/samples: add tags to some tests 2020-07-20 17:44:16 -04:00
msgq/msgq_api
mutex tests: add test cases for improving testing of mutex 2020-07-08 23:25:59 -04:00
obj_tracing
pending
pipe
poll
profiling/profiling_api
queue
sched random: Include header where it is used 2020-07-08 21:05:36 -04:00
semaphore/semaphore tests: add new semaphore tests 2020-07-15 13:07:46 +02:00
sleep
smp tests/samples: add tags to some tests 2020-07-20 17:44:16 -04:00
spinlock tests/samples: add tags to some tests 2020-07-20 17:44:16 -04:00
stack/stack tests: stack modifying and adding test case 2020-07-21 21:54:11 -04:00
threads kernel: introduce supervisor-only stacks 2020-07-30 21:11:14 -04:00
tickless
timer random: Include header where it is used 2020-07-08 21:05:36 -04:00
workq tests: make code style changes according with review comments 2020-07-08 21:59:22 -04:00
xip tests: xip: remove hack and add qemu_x86_xip 2020-07-30 12:25:37 +02:00