summaryrefslogtreecommitdiff
path: root/include/sbi
diff options
context:
space:
mode:
Diffstat (limited to 'include/sbi')
-rw-r--r--include/sbi/sbi_hart.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/include/sbi/sbi_hart.h b/include/sbi/sbi_hart.h
index a83b45b..57f80bc 100644
--- a/include/sbi/sbi_hart.h
+++ b/include/sbi/sbi_hart.h
@@ -26,9 +26,11 @@ enum sbi_hart_features {
SBI_HART_HAS_TIME = (1 << 4),
/** HART has AIA local interrupt CSRs */
SBI_HART_HAS_AIA = (1 << 5),
+ /** HART has menvcfg CSR */
+ SBI_HART_HAS_MENVCFG = (1 << 6),
/** Last index of Hart features*/
- SBI_HART_HAS_LAST_FEATURE = SBI_HART_HAS_AIA,
+ SBI_HART_HAS_LAST_FEATURE = SBI_HART_HAS_MENVCFG,
};
struct sbi_scratch;