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

riscv: initialize privileged stack during thread init



This adds the bits to initialize the privileged stack when
a thread is transitioning to user mode. This prevents
information leaking if the stack is reused, and also aids
in calculating stack space usage during system calls.

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