zephyr/arch
Andrew Boie 2dd91eca0e kernel: move thread monitor init to common code
The original implementation of CONFIG_THREAD_MONITOR would
try to leverage a thread's initial stack layout to provide
the entry function with arguments for any given thread.

This is problematic:

- Some arches do not have a initial stack layout suitable for
this
- Some arches never enabled this at all (riscv32, nios2)
- Some arches did not enable this properly
- Dropping to user mode would erase or provide incorrect
information.

Just spend a few extra bytes to store this stuff directly
in the k_thread struct and get rid of all the arch-specific
code for this.

Signed-off-by: Andrew Boie <andrew.p.boie@intel.com>
2018-06-06 14:26:45 -04:00
..
arc kernel: move thread monitor init to common code 2018-06-06 14:26:45 -04:00
arm kernel: move thread monitor init to common code 2018-06-06 14:26:45 -04:00
common drivers/interrupt_controller: Introduce multi-level interrupt support 2018-02-06 22:39:05 -05:00
nios2 kernel: move thread monitor init to common code 2018-06-06 14:26:45 -04:00
posix kernel: move thread monitor init to common code 2018-06-06 14:26:45 -04:00
riscv32 kernel: move thread monitor init to common code 2018-06-06 14:26:45 -04:00
x86 kernel: move thread monitor init to common code 2018-06-06 14:26:45 -04:00
xtensa kernel: move thread monitor init to common code 2018-06-06 14:26:45 -04:00
CMakeLists.txt arch: Cmake: Add __ZEPHYR_SUPERVISOR__ macro for arch files. 2018-05-15 17:48:18 +03:00
Kconfig kconfig: Get rid of 'option env' bounce symbols 2018-05-17 23:55:07 +03:00