mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-04 16:23:55 -06:00
cpu: Change cpu_exit() argument to CPUState
It no longer depends on CPUArchState, so move it to qom/cpu.c. Prepares for changing GDBState::c_cpu to CPUState. Signed-off-by: Andreas Färber <afaerber@suse.de>
This commit is contained in:
parent
cb446ecab7
commit
60a3e17a46
13 changed files with 24 additions and 20 deletions
|
@ -102,7 +102,7 @@ static void cpu_request_exit(void *opaque, int irq, int level)
|
|||
CPUMIPSState *env = cpu_single_env;
|
||||
|
||||
if (env && level) {
|
||||
cpu_exit(env);
|
||||
cpu_exit(CPU(mips_env_get_cpu(env)));
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue