summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorPope B.Lei <[email protected]>2024-04-10 10:05:20 +0800
committerAnup Patel <[email protected]>2024-05-07 18:12:24 +0530
commit1d89a9da64e4b4f51c59c44eba2f65b037bc4d95 (patch)
treecb52d46b2ef9d34fa0172e6adf51feb36c7aafc4 /include
parent033104da08baf52c8b65b56a03363ea238c9ca31 (diff)
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 <[email protected]> Reviewed-by: Anup Patel <[email protected]>
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions