]> xenbits.xensource.com Git - xen.git/commit
x86_emulate: PUSH <mem> must read source operand just once
authorJan Beulich <jbeulich@suse.com>
Fri, 20 Sep 2013 09:03:53 +0000 (11:03 +0200)
committerJan Beulich <jbeulich@suse.com>
Fri, 20 Sep 2013 09:03:53 +0000 (11:03 +0200)
commit86781624f8df1d50eb4185cfc2ddce926798f7aa
tree442a1577b42cf65fd96027353b2d286c3eef3e0b
parentbc6c4576616ef9cf62667a5fb315cd984499d51c
x86_emulate: PUSH <mem> must read source operand just once

... for the case of accessing MMIO.

Rather than doing the early operand type adjustment for just for that
case, do it for all of the 0xF6, 0xF7, and 0xFF groups (allowing some
other code to be dropped instead).

Signed-off-by: Jan Beulich <jbeulich@suse.com>
Acked-by: Keir Fraser <keir@xen.org>
xen/arch/x86/x86_emulate/x86_emulate.c