aboutsummaryrefslogtreecommitdiff
path: root/lib/sbi/sbi_domain_context.c
diff options
context:
space:
mode:
authorPope B.Lei <popeblei@gmail.com>2024-04-10 10:05:20 +0800
committerAnup Patel <anup@brainfault.org>2024-05-07 18:12:24 +0530
commit1d89a9da64e4b4f51c59c44eba2f65b037bc4d95 (patch)
treecb52d46b2ef9d34fa0172e6adf51feb36c7aafc4 /lib/sbi/sbi_domain_context.c
parent033104da08baf52c8b65b56a03363ea238c9ca31 (diff)
downloadopensbi-1d89a9da64e4b4f51c59c44eba2f65b037bc4d95.zip
opensbi-1d89a9da64e4b4f51c59c44eba2f65b037bc4d95.tar.gz
opensbi-1d89a9da64e4b4f51c59c44eba2f65b037bc4d95.tar.bz2
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: Pope B.Lei <popeblei@gmail.com> Reviewed-by: Anup Patel <anup@brainfault.org>
Diffstat (limited to 'lib/sbi/sbi_domain_context.c')
0 files changed, 0 insertions, 0 deletions