x86-64: recompute DF after eflags has been modified when emulating SYSCALL
(Jakub Jermar) git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@4120 c046a42c-6fe2-441c-8c8c-71466251a162
This commit is contained in:
parent
9b5953952a
commit
f94f718195
@ -1008,6 +1008,7 @@ void helper_syscall(int next_eip_addend)
|
||||
DESC_S_MASK |
|
||||
DESC_W_MASK | DESC_A_MASK);
|
||||
env->eflags &= ~env->fmask;
|
||||
load_eflags(env->eflags, 0);
|
||||
if (code64)
|
||||
env->eip = env->lstar;
|
||||
else
|
||||
|
Loading…
Reference in New Issue
Block a user