diff options
| author | Pope B.Lei <[email protected]> | 2024-04-10 10:05:20 +0800 |
|---|---|---|
| committer | Anup Patel <[email protected]> | 2024-05-07 18:12:24 +0530 |
| commit | 1d89a9da64e4b4f51c59c44eba2f65b037bc4d95 (patch) | |
| tree | cb52d46b2ef9d34fa0172e6adf51feb36c7aafc4 /include | |
| parent | 033104da08baf52c8b65b56a03363ea238c9ca31 (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
