Skip to content

Commit fdb7bce

Browse files
atishp04alistair23
authored andcommitted
target/riscv: Add configuration for S[m|s]csrind, Smcdeleg/Ssccfg
Add configuration options so that they can be enabled/disabld from qemu commandline. Acked-by: Alistair Francis <[email protected]> Reviewed-by: Daniel Henrique Barboza <[email protected]> Signed-off-by: Atish Patra <[email protected]> Message-ID: <[email protected]> Signed-off-by: Alistair Francis <[email protected]>
1 parent 2a754d6 commit fdb7bce

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

target/riscv/cpu.c

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1587,6 +1587,10 @@ const RISCVCPUMultiExtConfig riscv_cpu_extensions[] = {
15871587
/* Defaults for standard extensions */
15881588
MULTI_EXT_CFG_BOOL("sscofpmf", ext_sscofpmf, false),
15891589
MULTI_EXT_CFG_BOOL("smcntrpmf", ext_smcntrpmf, false),
1590+
MULTI_EXT_CFG_BOOL("smcsrind", ext_smcsrind, false),
1591+
MULTI_EXT_CFG_BOOL("smcdeleg", ext_smcdeleg, false),
1592+
MULTI_EXT_CFG_BOOL("sscsrind", ext_sscsrind, false),
1593+
MULTI_EXT_CFG_BOOL("ssccfg", ext_ssccfg, false),
15901594
MULTI_EXT_CFG_BOOL("zifencei", ext_zifencei, true),
15911595
MULTI_EXT_CFG_BOOL("zicfilp", ext_zicfilp, false),
15921596
MULTI_EXT_CFG_BOOL("zicfiss", ext_zicfiss, false),

0 commit comments

Comments
 (0)