From 3daac8fb87a4d04fe8dfc0ff4a6ffb947107e1a9 Mon Sep 17 00:00:00 2001 From: Yong-Xuan Wang Date: Tue, 12 Dec 2023 08:58:35 +0000 Subject: 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 Reviewed-by: Anup Patel --- include/sbi/sbi_hart.h | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'include') 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, -- cgit v1.3.1