Skip to content

Commit 6f6592d

Browse files
atishp04alistair23
authored andcommitted
target/riscv: Expose the Smcntrpmf config
Create a new config for Smcntrpmf extension so that it can be enabled/ disabled from the qemu commandline. Signed-off-by: Atish Patra <atishp@rivosinc.com> Acked-by: Alistair Francis <alistair.francis@wdc.com> Message-ID: <20240711-smcntrpmf_v7-v8-13-b7c38ae7b263@rivosinc.com> Signed-off-by: Alistair Francis <alistair.francis@wdc.com>
1 parent dd4c123 commit 6f6592d

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

target/riscv/cpu.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1472,6 +1472,7 @@ const char *riscv_get_misa_ext_description(uint32_t bit)
14721472
const RISCVCPUMultiExtConfig riscv_cpu_extensions[] = {
14731473
/* Defaults for standard extensions */
14741474
MULTI_EXT_CFG_BOOL("sscofpmf", ext_sscofpmf, false),
1475+
MULTI_EXT_CFG_BOOL("smcntrpmf", ext_smcntrpmf, false),
14751476
MULTI_EXT_CFG_BOOL("zifencei", ext_zifencei, true),
14761477
MULTI_EXT_CFG_BOOL("zicsr", ext_zicsr, true),
14771478
MULTI_EXT_CFG_BOOL("zihintntl", ext_zihintntl, true),

0 commit comments

Comments
 (0)