diff options
author | aurel32 <aurel32@c046a42c-6fe2-441c-8c8c-71466251a162> | 2008-03-28 22:30:30 +0000 |
---|---|---|
committer | aurel32 <aurel32@c046a42c-6fe2-441c-8c8c-71466251a162> | 2008-03-28 22:30:30 +0000 |
commit | f94f7181950b9d028a919274f4787076242690b5 (patch) | |
tree | 1b96d06d9d2e56cc89fb44f1bf34208574a15d1a /target-i386 | |
parent | 9b5953952aa41a54e26cba8888c7830f4bd90d53 (diff) |
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
Diffstat (limited to 'target-i386')
-rw-r--r-- | target-i386/helper.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/target-i386/helper.c b/target-i386/helper.c index c0fb78f6b7..4f197a083c 100644 --- a/target-i386/helper.c +++ b/target-i386/helper.c @@ -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 |