diff options
author | blueswir1 <blueswir1@c046a42c-6fe2-441c-8c8c-71466251a162> | 2008-09-25 20:24:19 +0000 |
---|---|---|
committer | blueswir1 <blueswir1@c046a42c-6fe2-441c-8c8c-71466251a162> | 2008-09-25 20:24:19 +0000 |
commit | 2ca83a8dd63bde5f78300dc0c21159873d5aaf54 (patch) | |
tree | 0f688658292495a0834760340db7708e6f09493e /hw/esp.c | |
parent | Add a simple SSSE3 test. (diff) | |
download | qemu-kvm-2ca83a8dd63bde5f78300dc0c21159873d5aaf54.tar.gz qemu-kvm-2ca83a8dd63bde5f78300dc0c21159873d5aaf54.tar.bz2 qemu-kvm-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 'hw/esp.c')
-rw-r--r-- | hw/esp.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -578,7 +578,7 @@ static void esp_save(QEMUFile *f, void *opaque) qemu_put_buffer(f, s->rregs, ESP_REGS); qemu_put_buffer(f, s->wregs, ESP_REGS); - qemu_put_sbe32s(f, &s->ti_size); + qemu_put_be32s(f, (uint32_t *)&s->ti_size); qemu_put_be32s(f, &s->ti_rptr); qemu_put_be32s(f, &s->ti_wptr); qemu_put_buffer(f, s->ti_buf, TI_BUFSZ); @@ -600,7 +600,7 @@ static int esp_load(QEMUFile *f, void *opaque, int version_id) qemu_get_buffer(f, s->rregs, ESP_REGS); qemu_get_buffer(f, s->wregs, ESP_REGS); - qemu_get_sbe32s(f, &s->ti_size); + qemu_get_be32s(f, (uint32_t *)&s->ti_size); qemu_get_be32s(f, &s->ti_rptr); qemu_get_be32s(f, &s->ti_wptr); qemu_get_buffer(f, s->ti_buf, TI_BUFSZ); |