diff options
author | Pope B.Lei <popeblei@gmail.com> | 2024-04-10 10:05:20 +0800 |
---|---|---|
committer | Anup Patel <anup@brainfault.org> | 2024-05-07 18:12:24 +0530 |
commit | 1d89a9da64e4b4f51c59c44eba2f65b037bc4d95 (patch) | |
tree | cb52d46b2ef9d34fa0172e6adf51feb36c7aafc4 /include/sbi | |
parent | 033104da08baf52c8b65b56a03363ea238c9ca31 (diff) | |
download | opensbi-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 'include/sbi')
0 files changed, 0 insertions, 0 deletions