mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-05 16:53:55 -06:00
cpu-exec: Change cpu_loop_exit() argument to CPUState
Signed-off-by: Andreas Färber <afaerber@suse.de>
This commit is contained in:
parent
d5a11fefef
commit
5638d180d6
28 changed files with 64 additions and 67 deletions
|
@ -51,7 +51,7 @@ static inline void QEMU_NORETURN do_raise_exception_err(CPUMIPSState *env,
|
|||
cpu_restore_state(env, pc);
|
||||
}
|
||||
|
||||
cpu_loop_exit(env);
|
||||
cpu_loop_exit(cs);
|
||||
}
|
||||
|
||||
static inline void QEMU_NORETURN do_raise_exception(CPUMIPSState *env,
|
||||
|
@ -280,7 +280,7 @@ static inline hwaddr do_translate_address(CPUMIPSState *env,
|
|||
lladdr = cpu_mips_translate_address(env, address, rw);
|
||||
|
||||
if (lladdr == -1LL) {
|
||||
cpu_loop_exit(env);
|
||||
cpu_loop_exit(CPU(mips_env_get_cpu(env)));
|
||||
} else {
|
||||
return lladdr;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue