zephyr/kernel
Andy Ross 7353c7f95d kernel/userspace: Move syscall_frame field to thread struct
The syscall exception frame was stored on the CPU struct during
syscall execution, but that's not right.  System calls might "feel
like" exceptions, but they're actually perfectly normal kernel mode
code and can be preempted and migrated between CPUs at any time.

Put the field on the thread struct.

Signed-off-by: Andy Ross <andrew.j.ross@intel.com>
2020-02-08 08:51:04 -05:00
..
include kernel/smp: arch/x86_64: Address race with CPU migration 2020-02-08 08:51:04 -05:00
atomic_c.c
CMakeLists.txt
compiler_stack_protect.c
device.c
errno.c
fatal.c kernel/fatal: Fatal errors must not be preempted 2020-02-08 08:51:04 -05:00
futex.c
idle.c
init.c kernel/smp: arch/x86_64: Address race with CPU migration 2020-02-08 08:51:04 -05:00
Kconfig
Kconfig.power_mgmt
mailbox.c
mem_domain.c
mem_slab.c
mempool.c
msg_q.c
mutex.c tracing: move headers under include/tracing 2020-02-07 15:58:05 -05:00
pipes.c
poll.c
queue.c
sched.c kernel/smp: arch/x86_64: Address race with CPU migration 2020-02-08 08:51:04 -05:00
sem.c tracing: move headers under include/tracing 2020-02-07 15:58:05 -05:00
smp.c kernel/smp: arch/x86_64: Address race with CPU migration 2020-02-08 08:51:04 -05:00
stack.c
system_work_q.c
thread_abort.c
thread.c kernel: overhaul unused stack measurement 2020-02-08 10:02:35 +02:00
timeout.c
timer.c
userspace_handler.c
userspace.c kernel/userspace: Move syscall_frame field to thread struct 2020-02-08 08:51:04 -05:00
version.c
work_q.c