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> |
||
|---|---|---|
| .. | ||
| kernel_arch_data.h | ||
| kernel_arch_func.h | ||
| kernel_arch_thread.h | ||
| kernel_event_logger_arch.h | ||
| offsets_short_arch.h | ||
| xtensa_api.h | ||
| xtensa_config.h | ||
| xtensa_context.h | ||
| xtensa_rtos.h | ||
| xtensa_timer.h | ||
| xtensa-asm2-context.h | ||
| xtensa-asm2-s.h | ||
| xtensa-asm2.h | ||