[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PATCH v4 01/17] target/riscv/cpu_cfg.h: remove unused fields
From: |
Daniel Henrique Barboza |
Subject: |
[PATCH v4 01/17] target/riscv/cpu_cfg.h: remove unused fields |
Date: |
Fri, 5 Jan 2024 20:05:30 -0300 |
user_spec, bext_spec and bext_ver aren't being used.
Signed-off-by: Daniel Henrique Barboza <dbarboza@ventanamicro.com>
Reviewed-by: Alistair Francis <alistair.francis@wdc.com>
---
target/riscv/cpu.h | 1 -
target/riscv/cpu_cfg.h | 2 --
2 files changed, 3 deletions(-)
diff --git a/target/riscv/cpu.h b/target/riscv/cpu.h
index 44fb0a9ca8..1c5ab8bd0e 100644
--- a/target/riscv/cpu.h
+++ b/target/riscv/cpu.h
@@ -180,7 +180,6 @@ struct CPUArchState {
target_ulong guest_phys_fault_addr;
target_ulong priv_ver;
- target_ulong bext_ver;
target_ulong vext_ver;
/* RISCVMXL, but uint32_t for vmstate migration */
diff --git a/target/riscv/cpu_cfg.h b/target/riscv/cpu_cfg.h
index 780ae6ef17..0612668144 100644
--- a/target/riscv/cpu_cfg.h
+++ b/target/riscv/cpu_cfg.h
@@ -140,8 +140,6 @@ struct RISCVCPUConfig {
uint32_t pmu_mask;
char *priv_spec;
- char *user_spec;
- char *bext_spec;
char *vext_spec;
uint16_t vlen;
uint16_t elen;
--
2.43.0
- [PATCH v4 00/17] target/riscv: deprecate riscv_cpu_options[], Daniel Henrique Barboza, 2024/01/05
- [PATCH v4 01/17] target/riscv/cpu_cfg.h: remove unused fields,
Daniel Henrique Barboza <=
- [PATCH v4 02/17] target/riscv: make riscv_cpu_is_vendor() public, Daniel Henrique Barboza, 2024/01/05
- [PATCH v4 03/17] target/riscv: move 'pmu-mask' and 'pmu-num' to riscv_cpu_properties[], Daniel Henrique Barboza, 2024/01/05
- [PATCH v4 04/17] target/riscv: move 'mmu' to riscv_cpu_properties[], Daniel Henrique Barboza, 2024/01/05
- [PATCH v4 05/17] target/riscv: move 'pmp' to riscv_cpu_properties[], Daniel Henrique Barboza, 2024/01/05
- [PATCH v4 06/17] target/riscv: rework 'priv_spec', Daniel Henrique Barboza, 2024/01/05
- [PATCH v4 07/17] target/riscv: rework 'vext_spec', Daniel Henrique Barboza, 2024/01/05
- [PATCH v4 08/17] target/riscv: move 'vlen' to riscv_cpu_properties[], Daniel Henrique Barboza, 2024/01/05
- [PATCH v4 09/17] target/riscv: move 'elen' to riscv_cpu_properties[], Daniel Henrique Barboza, 2024/01/05
- [PATCH v4 10/17] target/riscv: create finalize_features() for KVM, Daniel Henrique Barboza, 2024/01/05