zephyr/arch/x86
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
..
core kernel: move thread monitor init to common code 2018-06-06 14:26:45 -04:00
include arch: x86: Better document that CR0.WP will also be set when CR0.PG is 2018-05-26 19:09:33 -04:00
soc arch/x86: Rename a legacy network Kconfig option 2018-06-04 08:24:28 -04:00
CMakeLists.txt gdb_server: Remove leftover testing and x86 parts 2018-05-24 08:10:21 -04:00
Kconfig arch: x86: Allow disabling speculative store bypass 2018-05-24 13:07:12 -04:00
defconfig