diff options
author | blueswir1 <blueswir1@c046a42c-6fe2-441c-8c8c-71466251a162> | 2008-10-02 19:14:17 +0000 |
---|---|---|
committer | blueswir1 <blueswir1@c046a42c-6fe2-441c-8c8c-71466251a162> | 2008-10-02 19:14:17 +0000 |
commit | b6c4f71f508977fedc11f5c822642a5bb1c899a3 (patch) | |
tree | c15fe04b63c822a16d62af197d12450286f6f390 /target-i386 | |
parent | 09bc878a13c1ca1c5d2400db5657ea7d04fe26bc (diff) |
Resurrect the safe part of r5274
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@5401 c046a42c-6fe2-441c-8c8c-71466251a162
Diffstat (limited to 'target-i386')
-rw-r--r-- | target-i386/machine.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/target-i386/machine.c b/target-i386/machine.c index b0593dfb4e..9d440fb346 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_be32s(f, &a20_mask); + qemu_put_sbe32s(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_be32s(f, &a20_mask); + qemu_get_sbe32s(f, &a20_mask); env->a20_mask = a20_mask; qemu_get_be32s(f, &env->mxcsr); |