[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PATCH v11 1/6] target/riscv: Add 'ext_smrnmi' in the RISCVCPUConfig
From: |
frank . chang |
Subject: |
[PATCH v11 1/6] target/riscv: Add 'ext_smrnmi' in the RISCVCPUConfig |
Date: |
Tue, 31 Dec 2024 11:26:49 +0800 |
From: Tommy Wu <tommy.wu@sifive.com>
The boolean variable 'ext_smrnmi' is used to determine whether the
Smrnmi extension exists.
Signed-off-by: Frank Chang <frank.chang@sifive.com>
Signed-off-by: Tommy Wu <tommy.wu@sifive.com>
Reviewed-by: Alistair Francis <alistair.francis@wdc.com>
---
target/riscv/cpu_cfg.h | 1 +
1 file changed, 1 insertion(+)
diff --git a/target/riscv/cpu_cfg.h b/target/riscv/cpu_cfg.h
index a1457ab4f4..eda7d141f2 100644
--- a/target/riscv/cpu_cfg.h
+++ b/target/riscv/cpu_cfg.h
@@ -129,6 +129,7 @@ struct RISCVCPUConfig {
bool ext_ssaia;
bool ext_sscofpmf;
bool ext_smepmp;
+ bool ext_smrnmi;
bool rvv_ta_all_1s;
bool rvv_ma_all_1s;
bool rvv_vl_half_avl;
--
2.34.1
- [PATCH v11 0/6] Add Smrnmi support, frank . chang, 2024/12/30
- [PATCH v11 1/6] target/riscv: Add 'ext_smrnmi' in the RISCVCPUConfig,
frank . chang <=
- [PATCH v11 2/6] target/riscv: Add Smrnmi CSRs, frank . chang, 2024/12/30
- [PATCH v11 3/6] target/riscv: Handle Smrnmi interrupt and exception, frank . chang, 2024/12/30
- [PATCH v11 4/6] target/riscv: Add Smrnmi mnret instruction, frank . chang, 2024/12/30
- [PATCH v11 5/6] target/riscv: Add Smrnmi cpu extension, frank . chang, 2024/12/30
- [PATCH v11 6/6] target/riscv: Add Zicfilp support for Smrnmi, frank . chang, 2024/12/30