]> xenbits.xensource.com Git - people/vhanquez/xen.git/commitdiff
x86_emulate: Near JMP (Grp5 /3) shoudl not write back to its operand.
authorKeir Fraser <keir.fraser@citrix.com>
Fri, 11 Jan 2008 11:08:52 +0000 (11:08 +0000)
committerKeir Fraser <keir.fraser@citrix.com>
Fri, 11 Jan 2008 11:08:52 +0000 (11:08 +0000)
Signed-off-by: Keir Fraser <keir.fraser@citrix.com>
xen/arch/x86/x86_emulate.c

index 5f119597ed177da2e83320fc15ee2e1fc075b7a6..75e1232008997bc28def308c0c6bc6339b0914b4 100644 (file)
@@ -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. */