diff options
| author | Yong-Xuan Wang <[email protected]> | 2023-12-12 08:58:35 +0000 |
|---|---|---|
| committer | Anup Patel <[email protected]> | 2023-12-19 15:39:17 +0530 |
| commit | 3daac8fb87a4d04fe8dfc0ff4a6ffb947107e1a9 (patch) | |
| tree | 56a7fdfda0a4858227fe3363e7043d03ce1e2d40 /include | |
| parent | 776770d2adbf3ae7d9d3b97f0756c7589003835f (diff) | |
lib: sbi: Detect extensions from the ISA string in DT
Enable access to some extensions through menvcfg and show them in "Boot
HART ISA Extensions" if they are present in the device tree.
Signed-off-by: Yong-Xuan Wang <[email protected]>
Reviewed-by: Anup Patel <[email protected]>
Diffstat (limited to 'include')
| -rw-r--r-- | include/sbi/sbi_hart.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/include/sbi/sbi_hart.h b/include/sbi/sbi_hart.h index 77138232..47be251d 100644 --- a/include/sbi/sbi_hart.h +++ b/include/sbi/sbi_hart.h @@ -47,6 +47,12 @@ enum sbi_hart_extensions { SBI_HART_EXT_SMCNTRPMF, /** Hart has Xandespmu extension */ SBI_HART_EXT_XANDESPMU, + /** Hart has Zicboz extension */ + SBI_HART_EXT_ZICBOZ, + /** Hart has Zicbom extension */ + SBI_HART_EXT_ZICBOM, + /** Hart has Svpbmt extension */ + SBI_HART_EXT_SVPBMT, /** Maximum index of Hart extension */ SBI_HART_EXT_MAX, |
