]> git.ipfire.org Git - thirdparty/qemu.git/commit
target/i386: Clear RF on SYSCALL instruction
authorRudolf Marek <rudolf.marek@sysgo.com>
Fri, 19 Oct 2018 12:24:49 +0000 (14:24 +0200)
committerPaolo Bonzini <pbonzini@redhat.com>
Tue, 6 Nov 2018 20:35:05 +0000 (21:35 +0100)
commit1a1435dd61e28c1e3b70971107d72a7d05b28d03
tree92e697cf8825ee0933f0240c21f2c142ec654574
parent2185fd67d2f277ebb1d2946cf5f7cdc773e04198
target/i386: Clear RF on SYSCALL instruction

Fix the SYSCALL instruction in 64-bit (long mode). The RF flag
should be cleared in R11 as well as in the RFLAGS. Intel
and AMD CPUs behave same. AMD has this documented in the
APM vol 3.

Signed-off-by: Roman Kapl <rka@sysgo.com>
Signed-off-by: Rudolf Marek <rudolf.marek@sysgo.com>
Message-Id: <20181019122449.26387-1-rka@sysgo.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
target/i386/seg_helper.c