aboutsummaryrefslogtreecommitdiff
path: root/riscv/riscv.ac
diff options
context:
space:
mode:
Diffstat (limited to 'riscv/riscv.ac')
-rw-r--r--riscv/riscv.ac6
1 files changed, 6 insertions, 0 deletions
diff --git a/riscv/riscv.ac b/riscv/riscv.ac
index 40cf706..747c3e3 100644
--- a/riscv/riscv.ac
+++ b/riscv/riscv.ac
@@ -6,6 +6,12 @@ AC_ARG_WITH(isa,
AC_DEFINE_UNQUOTED([DEFAULT_ISA], "$withval", [Default value for --isa switch]),
AC_DEFINE_UNQUOTED([DEFAULT_ISA], "RV64IMAFDC", [Default value for --isa switch]))
+AC_ARG_WITH(priv,
+ [AS_HELP_STRING([--with-priv=MSU],
+ [Sets the default RISC-V privilege modes supported])],
+ AC_DEFINE_UNQUOTED([DEFAULT_PRIV], "$withval", [Default value for --priv switch]),
+ AC_DEFINE_UNQUOTED([DEFAULT_PRIV], "MSU", [Default value for --priv switch]))
+
AC_ARG_WITH(varch,
[AS_HELP_STRING([--with-varch=v128:e32:s128],
[Sets the default vector config])],