mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-06 17:23:56 -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
|
@ -513,7 +513,7 @@ void QEMU_NORETURN helper_excp(CPUAlphaState *env, int excp, int error)
|
|||
|
||||
cs->exception_index = excp;
|
||||
env->error_code = error;
|
||||
cpu_loop_exit(env);
|
||||
cpu_loop_exit(cs);
|
||||
}
|
||||
|
||||
/* This may be called from any of the helpers to set up EXCEPTION_INDEX. */
|
||||
|
@ -528,7 +528,7 @@ void QEMU_NORETURN dynamic_excp(CPUAlphaState *env, uintptr_t retaddr,
|
|||
if (retaddr) {
|
||||
cpu_restore_state(env, retaddr);
|
||||
}
|
||||
cpu_loop_exit(env);
|
||||
cpu_loop_exit(cs);
|
||||
}
|
||||
|
||||
void QEMU_NORETURN arith_excp(CPUAlphaState *env, uintptr_t retaddr,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue