[5351] Fix save/restore regression introduced by r5318
Revision: 5351
http://svn.sv.gnu.org/viewvc/?view=rev&root=qemu&revision=5351 Author: aliguori Date: 2008-09-29 16:09:07 +0000 (Mon, 29 Sep 2008)
Log Message:
-----------
Fix save/restore regression introduced by r5318
sysenter_cs is a u32 and is loaded as a u32.
Signed-off-by Anthony Liguori <[email protected]>
Modified Paths:
--------------
trunk/target-i386/machine.c
Modified: trunk/target-i386/machine.c
===================================================================
target-i386/machine.c +1 -1
@@ -88,7 +88,7 @@cpu_put_seg (f, &env->gdt);cpu_put_seg (f, &env->idt); -qemu_put_betls (f, &env->sysenter_cs); +qemu_put_be32s (f, &env->sysenter_cs);qemu_put_betls (f, &env->sysenter_esp);qemu_put_betls (f, &env->sysenter_eip);