]> git.proxmox.com Git - mirror_qemu.git/blobdiff - hw/mips/cputimer.c
mips: use MIPSCPU instead of CPUMIPSState
[mirror_qemu.git] / hw / mips / cputimer.c
index efb227d06edf30a5ca43c01fd3e02dcafcd7df69..8a166b3ea746a009968775cf689fca76dfaf0733 100644 (file)
@@ -151,8 +151,10 @@ static void mips_timer_cb (void *opaque)
     env->CP0_Count--;
 }
 
-void cpu_mips_clock_init (CPUMIPSState *env)
+void cpu_mips_clock_init (MIPSCPU *cpu)
 {
+    CPUMIPSState *env = &cpu->env;
+
     /*
      * If we're in KVM mode, don't create the periodic timer, that is handled in
      * kernel.