summaryrefslogtreecommitdiff
path: root/include/sbi
diff options
context:
space:
mode:
authorYong-Xuan Wang <[email protected]>2023-12-12 08:58:32 +0000
committerAnup Patel <[email protected]>2023-12-19 13:46:02 +0530
commit2c8be566f3ecb829d36f50bc7ded1dc084f2fcc3 (patch)
treea4159d066337d2e63b86463ddd24eee0a7bce61e /include/sbi
parent925ce146229b2b4f20506f213bff5954cd03fea7 (diff)
lib: sbi: Improve the code of privilege mode and extensions detection
We can enhance the code by creating 2 unified interface with macro for privilege mode and extensions detection, which relies on supported privilege modes and CSRs. Signed-off-by: Yong-Xuan Wang <[email protected]> Reviewed-by: Anup Patel <[email protected]>
Diffstat (limited to 'include/sbi')
0 files changed, 0 insertions, 0 deletions