summaryrefslogtreecommitdiffstats
path: root/hw/mips/mips_int.c
diff options
context:
space:
mode:
authorPaolo Bonzini2016-03-15 14:32:19 +0100
committerPaolo Bonzini2016-05-19 16:42:27 +0200
commit5a975d435a71c9e60f44aa687cfea659cbf24d34 (patch)
treebcbe8341860a5c1add72b9844d7976f9fcdcea48 /hw/mips/mips_int.c
parentalpha: include cpu-qom.h in files that require AlphaCPU (diff)
downloadqemu-5a975d435a71c9e60f44aa687cfea659cbf24d34.tar.gz
qemu-5a975d435a71c9e60f44aa687cfea659cbf24d34.tar.xz
qemu-5a975d435a71c9e60f44aa687cfea659cbf24d34.zip
mips: use MIPSCPU instead of CPUMIPSState
This changes a cpu.h dependency into a cpu-qom.h dependency. Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'hw/mips/mips_int.c')
-rw-r--r--hw/mips/mips_int.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/hw/mips/mips_int.c b/hw/mips/mips_int.c
index 59081f9d1e..48192d22f3 100644
--- a/hw/mips/mips_int.c
+++ b/hw/mips/mips_int.c
@@ -58,8 +58,9 @@ static void cpu_mips_irq_request(void *opaque, int irq, int level)
}
}
-void cpu_mips_irq_init_cpu(CPUMIPSState *env)
+void cpu_mips_irq_init_cpu(MIPSCPU *cpu)
{
+ CPUMIPSState *env = &cpu->env;
qemu_irq *qi;
int i;