mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-03 07:43:54 -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
|
@ -40,12 +40,12 @@
|
|||
|
||||
static void exception_action(CPUArchState *env1)
|
||||
{
|
||||
#if defined(TARGET_I386)
|
||||
CPUState *cpu = ENV_GET_CPU(env1);
|
||||
|
||||
#if defined(TARGET_I386)
|
||||
raise_exception_err(env1, cpu->exception_index, env1->error_code);
|
||||
#else
|
||||
cpu_loop_exit(env1);
|
||||
cpu_loop_exit(cpu);
|
||||
#endif
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue