mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-05 08:43:55 -06:00
target/riscv: remove cpu->cfg.ext_h
Create a new "h" RISCVCPUMisaExtConfig property that will update env->misa_ext* with RVH. Instances of cpu->cfg.ext_h and similar are replaced with riscv_has_ext(env, RVH). Remove the old "h" property and 'ext_h' from RISCVCPUConfig. Signed-off-by: Daniel Henrique Barboza <dbarboza@ventanamicro.com> Reviewed-by: Weiwei Li <liweiwei@iscas.ac.cn> Reviewed-by: Alistair Francis <alistair.francis@wdc.com> Message-Id: <20230406180351.570807-15-dbarboza@ventanamicro.com> Signed-off-by: Alistair Francis <alistair.francis@wdc.com>
This commit is contained in:
parent
e17801e170
commit
b5c042e8a0
2 changed files with 5 additions and 6 deletions
|
@ -423,7 +423,6 @@ typedef struct {
|
|||
|
||||
struct RISCVCPUConfig {
|
||||
bool ext_g;
|
||||
bool ext_h;
|
||||
bool ext_j;
|
||||
bool ext_v;
|
||||
bool ext_zba;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue