diff mbox series

[06/10] target/riscv: Add `ext_smdbltrp` in RISCVCPUConfig.

Message ID 20240912084832.2906991-7-cleger@rivosinc.com (mailing list archive)
State New, archived
Headers show
Series target/riscv: Add support for Smdbltrp and Ssdbltrp extensions | expand

Commit Message

Clément Léger Sept. 12, 2024, 8:48 a.m. UTC
This variable is used to determine if the Smdbltrp extension is enabled.

Signed-off-by: Clément Léger <cleger@rivosinc.com>
---
 target/riscv/cpu_cfg.h | 1 +
 1 file changed, 1 insertion(+)

Comments

Daniel Henrique Barboza Sept. 21, 2024, 12:21 p.m. UTC | #1
On 9/12/24 5:48 AM, Clément Léger wrote:
> This variable is used to determine if the Smdbltrp extension is enabled.
> 
> Signed-off-by: Clément Léger <cleger@rivosinc.com>
> ---

Similar with patch 1, I would also merge this with patch 07 since the bool is
being used there. Thanks,

Daniel

>   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 dd804f95d4..4c4caa2b39 100644
> --- a/target/riscv/cpu_cfg.h
> +++ b/target/riscv/cpu_cfg.h
> @@ -78,6 +78,7 @@ struct RISCVCPUConfig {
>       bool ext_sstc;
>       bool ext_smcntrpmf;
>       bool ext_ssdbltrp;
> +    bool ext_smdbltrp;
>       bool ext_svadu;
>       bool ext_svinval;
>       bool ext_svnapot;
diff mbox series

Patch

diff --git a/target/riscv/cpu_cfg.h b/target/riscv/cpu_cfg.h
index dd804f95d4..4c4caa2b39 100644
--- a/target/riscv/cpu_cfg.h
+++ b/target/riscv/cpu_cfg.h
@@ -78,6 +78,7 @@  struct RISCVCPUConfig {
     bool ext_sstc;
     bool ext_smcntrpmf;
     bool ext_ssdbltrp;
+    bool ext_smdbltrp;
     bool ext_svadu;
     bool ext_svinval;
     bool ext_svnapot;