zephyr/kernel/include
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
..
gen_offset.h license: Replace Apache boilerplate with SPDX tag 2017-01-19 03:50:58 +00:00
kernel_internal.h kernel: handle early entropy issues 2018-05-23 19:38:06 -07:00
kernel_offsets.h kernel: SMP-aware scheduler 2018-02-16 10:44:29 -05:00
kernel_structs.h kernel: move thread monitor init to common code 2018-06-06 14:26:45 -04:00
ksched.h kernel: Earliest-deadline-first scheduling policy 2018-05-23 14:25:52 -04:00
kswap.h kernel/sched: Fix SMP scheduling 2018-05-31 14:02:03 -04:00
offsets_short.h kernel/arch: streamline thread user options 2017-01-24 13:34:50 +00:00
syscall_handler.h syscalls: remove policy from handler checks 2018-05-17 23:34:03 +03:00
timeout_q.h kernel: Clean up _unpend_thread() API 2018-04-24 03:57:20 +05:30
wait_q.h kernel: Fix trivial typo in CONFIG_WAIT_Q_FAST 2018-05-23 17:57:06 -04:00