[PATCH 0/4] Add Svadu extension support
Yong-Xuan Wang
yongxuan.wang at sifive.com
Thu Sep 7 02:27:25 PDT 2023
This series enables Svadu extension support by configuring the menvcfg
CSR and, if available, displays the Svadu extension in the boot log.
Additionally, we've made some programming improvements in
lib/sbi/sbi_hart.c.
Yong-Xuan Wang (4):
lib: sbi: refactor the code for enable extensions in menvfg CSR
lib: sbi: Add support for Svadu extension
lib: sbi: Improve the code of privilege mode and extensions detection
lib: sbi: detect extensions from menvcfg
include/sbi/riscv_encoding.h | 6 +-
include/sbi/sbi_hart.h | 8 ++
lib/sbi/sbi_hart.c | 160 ++++++++++++++++++++++-------------
3 files changed, 109 insertions(+), 65 deletions(-)
--
2.17.1
More information about the opensbi
mailing list