]> www.pilppa.org Git - linux-2.6-omap-h63xx.git/commit
KVM: x86 emulator: simplify rip relative decoding
authorAvi Kivity <avi@qumranet.com>
Mon, 16 Jun 2008 05:09:11 +0000 (22:09 -0700)
committerAvi Kivity <avi@qumranet.com>
Sun, 20 Jul 2008 09:42:34 +0000 (12:42 +0300)
commitf5b4edcd52e78556800f90d08bfc9126416ac82f
tree5c40b9781cf18d66c9e71b837ffc3eaddac48ddb
parent84411d85dacdb6665578608c6a70fc8b819761a8
KVM: x86 emulator: simplify rip relative decoding

rip relative decoding is relative to the instruction pointer of the next
instruction; by moving address adjustment until after decoding is complete,
we remove the need to determine the instruction size.

Signed-off-by: Avi Kivity <avi@qumranet.com>
arch/x86/kvm/x86_emulate.c
include/asm-x86/kvm_x86_emulate.h