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

x86: only set psp pointer for thread stacks



Only set the privileged stack pointer for thread stacks, but
nullify the pointer for kernel-only stacks, as these stacks
do not have the reserved space. The psp pointer may point to
arbitrary memory in this case if stack is not big enough.

Signed-off-by: default avatarDaniel Leung <daniel.leung@intel.com>
parent d26b7d4e
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment