Commit 1d89a9da authored by Pope B.Lei's avatar Pope B.Lei Committed by Anup Patel
Browse files

lib: sbi: Refine the settings for switching to Virtual Supervisor Mode.



Although Mstatus.MPV is set, before executing mret, access to VS mode
registers should use the actual register addresses, not the pseudonyms
of S registers.

Signed-off-by: default avatarPope B.Lei <popeblei@gmail.com>
Reviewed-by: default avatarAnup Patel <anup@brainfault.org>
parent 033104da
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment