Skip to content
Commit fd1e5aeb authored by Jim Shu's avatar Jim Shu Committed by Carles Cufí
Browse files

arch: riscv: fix sp of supervisor thread in _Fault function.



Although CONFIG_USERSPACE is enabled, there are supervisor threads who
don't have privileged stack using exception handler. Only let user
threads to switch to privileged stack in exception handler.

Signed-off-by: default avatarJim Shu <cwshu@andestech.com>
parent 3f16fdef
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment