mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-07-29 05:13:54 -06:00
cpu: Move exit_request field to CPUState
Since it was located before breakpoints field, it needs to be reset. Signed-off-by: Andreas Färber <afaerber@suse.de>
This commit is contained in:
parent
0315c31cda
commit
fcd7d0034b
8 changed files with 18 additions and 14 deletions
4
exec.c
4
exec.c
|
@ -492,7 +492,9 @@ void cpu_reset_interrupt(CPUArchState *env, int mask)
|
|||
|
||||
void cpu_exit(CPUArchState *env)
|
||||
{
|
||||
env->exit_request = 1;
|
||||
CPUState *cpu = ENV_GET_CPU(env);
|
||||
|
||||
cpu->exit_request = 1;
|
||||
cpu_unlink_tb(env);
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue