Skip to content
Commit fc182430 authored by Daniel Leung's avatar Daniel Leung Committed by Anas Nashif
Browse files

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: default avatarDaniel Leung <daniel.leung@intel.com>
parent a5f7e334
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment