From: Keir Fraser Date: Fri, 11 Jan 2008 11:08:52 +0000 (+0000) Subject: x86_emulate: Near JMP (Grp5 /3) shoudl not write back to its operand. X-Git-Tag: 3.1.3-rc1~13 X-Git-Url: http://xenbits.xensource.com/gitweb?a=commitdiff_plain;h=ab7b82a2fa1b5c3cd6875d59ca8120b86c849d5e;p=people%2Fvhanquez%2Fxen.git x86_emulate: Near JMP (Grp5 /3) shoudl not write back to its operand. Signed-off-by: Keir Fraser --- diff --git a/xen/arch/x86/x86_emulate.c b/xen/arch/x86/x86_emulate.c index 5f119597e..75e123200 100644 --- a/xen/arch/x86/x86_emulate.c +++ b/xen/arch/x86/x86_emulate.c @@ -1581,6 +1581,7 @@ x86_emulate( _regs.eip = dst.val; if ( (modrm_reg & 7) == 2 ) goto push; /* call */ + dst.type = OP_NONE; break; case 6: /* push */ /* 64-bit mode: PUSH defaults to a 64-bit operand. */