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

Clément Léger posted 10 patches 2 months, 1 week ago
There is a newer version of this series
[PATCH 06/10] target/riscv: Add `ext_smdbltrp` in RISCVCPUConfig.
Posted by Clément Léger 2 months, 1 week ago
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(+)

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;
-- 
2.45.2


Re: [PATCH 06/10] target/riscv: Add `ext_smdbltrp` in RISCVCPUConfig.
Posted by Daniel Henrique Barboza 2 months ago

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;