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:
aurel32 2008-03-28 22:30:30 +00:00
parent 9b5953952a
commit f94f718195
1 changed files with 1 additions and 0 deletions

View File

@ -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