zephyr/kernel
Daniel Leung fc182430c0 kernel: userspace: reserve stack space to store local data
This enables reserving little space on the top of stack to store
data local to thread when CONFIG_USERSPACE. The first customer
of this is errno.

Note that ARC, due to how it lays out the user stack and
privilege stack, sets the pointer itself rather than
relying on the common way.

Fixes: #9067

Signed-off-by: Daniel Leung <daniel.leung@intel.com>
2018-08-17 09:40:52 -07:00
..
include kernel: Fix bitwise operators with unsigned operators 2018-08-16 19:47:41 -07:00
CMakeLists.txt
Kconfig kernel: userspace: reserve stack space to store local data 2018-08-17 09:40:52 -07:00
Kconfig.event_logger Kconfig: Use a short, consistent style for prompts 2018-08-15 04:10:10 -07:00
Kconfig.power_mgmt Kconfig: Use a short, consistent style for prompts 2018-08-15 04:10:10 -07:00
alert.c syscalls: remove policy from handler checks 2018-05-17 23:34:03 +03:00
atomic_c.c
compiler_stack_protect.c
device.c
errno.c kernel: userspace: reserve stack space to store local data 2018-08-17 09:40:52 -07:00
idle.c kernel: idle: Define _sys_soc_resume functions conditionally 2018-07-19 17:12:58 -04:00
init.c kernel: Explicitly ignoring memcpy return 2018-08-16 19:47:41 -07:00
int_latency_bench.c
mailbox.c kernel: Explicitly ignoring memcpy return 2018-08-16 19:47:41 -07:00
mem_domain.c
mem_slab.c kernel: mem_slab: Reschedule in k_mem_slab_free only when necessary. 2018-05-18 20:16:50 +03:00
mempool.c kernel: Explicitly ignoring memcpy return 2018-08-16 19:47:41 -07:00
msg_q.c kernel: Explicitly ignoring memcpy return 2018-08-16 19:47:41 -07:00
mutex.c irq: Fix irq_lock api usage 2018-08-16 19:47:41 -07:00
pipes.c kernel: Wait queues aren't dlists anymore 2018-05-19 07:00:55 +03:00
poll.c kernel: Explicitly ignoring memcpy return 2018-08-16 19:47:41 -07:00
queue.c kernel: Explicitly ignoring results of queue_insert 2018-08-16 19:47:41 -07:00
sched.c irq: Fix irq_lock api usage 2018-08-16 19:47:41 -07:00
sem.c kernel: Fix sloppy wait queue API 2018-05-18 01:48:48 +03:00
smp.c irq: Fix irq_lock api usage 2018-08-16 19:47:41 -07:00
stack.c kernel: Wait queues aren't dlists anymore 2018-05-19 07:00:55 +03:00
sys_clock.c kernel: sched: Use ticks as time unit in time slicing. 2018-08-13 07:13:22 -07:00
system_work_q.c
thread.c kernel: userspace: reserve stack space to store local data 2018-08-17 09:40:52 -07:00
thread_abort.c syscalls: remove policy from handler checks 2018-05-17 23:34:03 +03:00
timer.c irq: Fix irq_lock api usage 2018-08-16 19:47:41 -07:00
userspace.c kernel: Explicitly ignoring memcpy return 2018-08-16 19:47:41 -07:00
userspace_handler.c syscalls: remove policy from handler checks 2018-05-17 23:34:03 +03:00
version.c
work_q.c irq: Fix irq_lock api usage 2018-08-16 19:47:41 -07:00