From efcac338bdf24273ea8a8e332bcb64adfd0dbf39 Mon Sep 17 00:00:00 2001 From: Heinrich Schuchardt Date: Sun, 29 Oct 2023 00:49:58 +0200 Subject: lib: sbi: Add Zkr in hart extensions - Add Zkr as extension in sbi_hart_extensions enum - Return "zkr" string for Zkr extension from sbi_hart_extension_id2string Signed-off-by: Heinrich Schuchardt Reviewed-by: Anup Patel --- include/sbi/sbi_hart.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'include') diff --git a/include/sbi/sbi_hart.h b/include/sbi/sbi_hart.h index e60f4150..fe1124ab 100644 --- a/include/sbi/sbi_hart.h +++ b/include/sbi/sbi_hart.h @@ -40,6 +40,8 @@ enum sbi_hart_extensions { SBI_HART_EXT_ZICNTR, /** HART has Zihpm extension */ SBI_HART_EXT_ZIHPM, + /** HART has Zkr extension */ + SBI_HART_EXT_ZKR, /** Hart has Smcntrpmf extension */ SBI_HART_EXT_SMCNTRPMF, -- cgit v1.3.1