]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
KVM: x86 emulator: add Src2 decode set
authorGuillaume Thouvenin <guillaume.thouvenin@ext.bull.net>
Thu, 4 Dec 2008 13:26:42 +0000 (14:26 +0100)
committerAvi Kivity <avi@redhat.com>
Wed, 31 Dec 2008 14:55:42 +0000 (16:55 +0200)
commit0dc8d10f7d848b63c8d32cf6fd31ba7def792ac9
tree82c1a42032974305b3ebca01891c07a2a148287c
parent45ed60b371aeae6ed80f7e9d594a5e6412edc176
KVM: x86 emulator: add Src2 decode set

Instruction like shld has three operands, so we need to add a Src2
decode set. We start with Src2None, Src2CL, and Src2ImmByte, Src2One to
support shld/shrd and we will expand it later.

Signed-off-by: Guillaume Thouvenin <guillaume.thouvenin@ext.bull.net>
Signed-off-by: Avi Kivity <avi@redhat.com>
arch/x86/include/asm/kvm_x86_emulate.h
arch/x86/kvm/x86_emulate.c