mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-12-18 13:38:36 -07:00
helper_syscall x86_64: clear exception_is_int
The exception_is_int flag may be set on entry to helper_syscall, e.g. after a prior interrupt that has returned, and processing EXCP_SYSCALL as an interrupt causes it to fail so clear this flag. Signed-off-by: Douglas Crosher <dtc-ubuntu@scieneer.com> Message-Id: <a7dab33e-eda6-f988-52e9-f3d32db7538d@scieneer.com> Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
This commit is contained in:
parent
bfac6d1933
commit
56bf1c4985
1 changed files with 1 additions and 0 deletions
|
|
@ -975,6 +975,7 @@ void helper_syscall(CPUX86State *env, int next_eip_addend)
|
|||
CPUState *cs = env_cpu(env);
|
||||
|
||||
cs->exception_index = EXCP_SYSCALL;
|
||||
env->exception_is_int = 0;
|
||||
env->exception_next_eip = env->eip + next_eip_addend;
|
||||
cpu_loop_exit(cs);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue