target/mips: Remove MIPSITUState::itu field
authorPhilippe Mathieu-Daudé <philmd@linaro.org>
Fri, 9 Feb 2024 07:47:48 +0000 (08:47 +0100)
committerPhilippe Mathieu-Daudé <philmd@linaro.org>
Thu, 15 Feb 2024 14:53:12 +0000 (15:53 +0100)
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>

hw/mips/cps.c
target/mips/cpu.h

index 4f12e23ab5be30b128fa68f2ab61dc7526bcac89..988ceaa0b9626bb93994c1f97603278b4180de88 100644 (file)
@@ -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);
     }
index b4788e1af251cfc657545e664d68ad648c11421b..d54e9a4a1cd7384f27ed7e4210975e2a4d427767 100644 (file)
@@ -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 */