summaryrefslogtreecommitdiff
path: root/target-i386/machine.c
diff options
context:
space:
mode:
authorblueswir1 <blueswir1@c046a42c-6fe2-441c-8c8c-71466251a162>2008-09-25 20:24:19 +0000
committerblueswir1 <blueswir1@c046a42c-6fe2-441c-8c8c-71466251a162>2008-09-25 20:24:19 +0000
commit2ca83a8dd63bde5f78300dc0c21159873d5aaf54 (patch)
tree0f688658292495a0834760340db7708e6f09493e /target-i386/machine.c
parent59e0fbf8e916efa9b9e9fed00f5692e8a7d684d9 (diff)
downloadqemu-2ca83a8dd63bde5f78300dc0c21159873d5aaf54.tar.gz
qemu-2ca83a8dd63bde5f78300dc0c21159873d5aaf54.tar.bz2
qemu-2ca83a8dd63bde5f78300dc0c21159873d5aaf54.zip
Revert r5274 which breaks savevm/loadvm
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@5321 c046a42c-6fe2-441c-8c8c-71466251a162
Diffstat (limited to 'target-i386/machine.c')
-rw-r--r--target-i386/machine.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/target-i386/machine.c b/target-i386/machine.c
index 71311117d0..26ca0f4a83 100644
--- a/target-i386/machine.c
+++ b/target-i386/machine.c
@@ -102,7 +102,7 @@ void cpu_save(QEMUFile *f, void *opaque)
/* MMU */
a20_mask = (int32_t) env->a20_mask;
- qemu_put_sbe32s(f, &a20_mask);
+ qemu_put_be32s(f, &a20_mask);
/* XMM */
qemu_put_be32s(f, &env->mxcsr);
@@ -261,7 +261,7 @@ int cpu_load(QEMUFile *f, void *opaque, int version_id)
qemu_get_betls(f, &env->dr[i]);
/* MMU */
- qemu_get_sbe32s(f, &a20_mask);
+ qemu_get_be32s(f, &a20_mask);
env->a20_mask = a20_mask;
qemu_get_be32s(f, &env->mxcsr);