diff options
author | Philippe Mathieu-Daudé <philmd@linaro.org> | 2024-02-09 08:47:48 +0100 |
---|---|---|
committer | Philippe Mathieu-Daudé <philmd@linaro.org> | 2024-02-15 15:53:12 +0100 |
commit | b267e78908afd450433ef44d840c4ff30ba37676 (patch) | |
tree | 2e610e9da4280733fee2d28091576926677778cc | |
parent | 77599a696df748e89b8f6610fe8dafaa6986729d (diff) | |
download | qemu-b267e78908afd450433ef44d840c4ff30ba37676.zip qemu-b267e78908afd450433ef44d840c4ff30ba37676.tar.gz qemu-b267e78908afd450433ef44d840c4ff30ba37676.tar.bz2 |
target/mips: Remove MIPSITUState::itu field
Previous commits removed the MT*C0(SAAR) helpers which
were using CPUMIPSState::itu, we can now remove it too.
Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Message-Id: <20240209090513.9401-4-philmd@linaro.org>
-rw-r--r-- | hw/mips/cps.c | 1 | ||||
-rw-r--r-- | target/mips/cpu.h | 1 |
2 files changed, 0 insertions, 2 deletions
diff --git a/hw/mips/cps.c b/hw/mips/cps.c index 4f12e23..988ceaa 100644 --- a/hw/mips/cps.c +++ b/hw/mips/cps.c @@ -96,7 +96,6 @@ static void mips_cps_realize(DeviceState *dev, Error **errp) itu_present = true; /* Attach ITC Tag to the VP */ env->itc_tag = mips_itu_get_tag_region(&s->itu); - env->itu = &s->itu; } qemu_register_reset(main_cpu_reset, cpu); } diff --git a/target/mips/cpu.h b/target/mips/cpu.h index b4788e1..d54e9a4 100644 --- a/target/mips/cpu.h +++ b/target/mips/cpu.h @@ -1184,7 +1184,6 @@ typedef struct CPUArchState { #if !defined(CONFIG_USER_ONLY) CPUMIPSTLBContext *tlb; qemu_irq irq[8]; - struct MIPSITUState *itu; MemoryRegion *itc_tag; /* ITC Configuration Tags */ /* Loongson IOCSR memory */ |