mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-04 00:03:54 -06:00
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>
This commit is contained in:
parent
0774831d08
commit
5a975d435a
9 changed files with 24 additions and 18 deletions
|
@ -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.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue