projects
/
GitHub
/
moto-9609
/
android_kernel_motorola_exynos9610.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4b92fe0
)
KVM: x86 emulator: fix jmp r/m64 instruction
author
Avi Kivity
<avi@qumranet.com>
Thu, 11 Sep 2008 16:47:13 +0000
(19:47 +0300)
committer
Avi Kivity
<avi@qumranet.com>
Wed, 15 Oct 2008 08:15:27 +0000
(10:15 +0200)
jmp r/m64 doesn't require the rex.w prefix to indicate the operand size
is 64 bits. Set the Stack attribute (even though it doesn't involve the
stack, really) to indicate this.
Signed-off-by: Avi Kivity <avi@qumranet.com>
arch/x86/kvm/x86_emulate.c
patch
|
blob
|
blame
|
history
diff --git
a/arch/x86/kvm/x86_emulate.c
b/arch/x86/kvm/x86_emulate.c
index 0630d2198763bdeebf6e96385c4f4f74bfe31079..0c120c4c9c0fe818676f281b22d5e0523a3c5922 100644
(file)
--- a/
arch/x86/kvm/x86_emulate.c
+++ b/
arch/x86/kvm/x86_emulate.c
@@
-288,7
+288,7
@@
static u16 group_table[] = {
[Group5*8] =
DstMem | SrcNone | ModRM, DstMem | SrcNone | ModRM,
SrcMem | ModRM | Stack, 0,
- SrcMem | ModRM, 0, SrcMem | ModRM | Stack, 0,
+ SrcMem | ModRM
| Stack
, 0, SrcMem | ModRM | Stack, 0,
[Group7*8] =
0, 0, ModRM | SrcMem, ModRM | SrcMem,
SrcNone | ModRM | DstMem | Mov, 0,