[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Xen-changelog] [xen-3.1-testing] x86_emulate: Near JMP (Grp5 /3) shoudl not write back to its operand.



# HG changeset patch
# User Keir Fraser <keir.fraser@xxxxxxxxxx>
# Date 1200049732 0
# Node ID 8a917e38a3cf71e6b6e4768805f3a36b8b8598da
# Parent  0a8ce61dead86e598fe31ae4cf256f39ee7ee49d
x86_emulate: Near JMP (Grp5 /3) shoudl not write back to its operand.
Signed-off-by: Keir Fraser <keir.fraser@xxxxxxxxxx>
---
 xen/arch/x86/x86_emulate.c |    1 +
 1 files changed, 1 insertion(+)

diff -r 0a8ce61dead8 -r 8a917e38a3cf xen/arch/x86/x86_emulate.c
--- a/xen/arch/x86/x86_emulate.c        Fri Jan 11 11:07:53 2008 +0000
+++ b/xen/arch/x86/x86_emulate.c        Fri Jan 11 11:08:52 2008 +0000
@@ -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. */

_______________________________________________
Xen-changelog mailing list
Xen-changelog@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-changelog


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.