diff options
| author | aliguori <aliguori@c046a42c-6fe2-441c-8c8c-71466251a162> | 2008-10-29 14:16:31 +0000 |
|---|---|---|
| committer | aliguori <aliguori@c046a42c-6fe2-441c-8c8c-71466251a162> | 2008-10-29 14:16:31 +0000 |
| commit | e5ceb24447ff66e3b472299eac8203439bd0ae4a (patch) | |
| tree | 604986d3b48caf6b9dc6c7ba1be368fd03f74b5c /hw/dma.c | |
| parent | e41b39105b2ab0db2c10c53043f1352a762af40d (diff) | |
| download | focaccia-qemu-e5ceb24447ff66e3b472299eac8203439bd0ae4a.tar.gz focaccia-qemu-e5ceb24447ff66e3b472299eac8203439bd0ae4a.zip | |
Fix restore of older snapshots for target-i386 on big endian hosts
A target_ulong may be 64-bit. Passing it to a function expecting a 32-bit pointer is wrong and unfortunately happens to work for x86. It won't work on big endian hosts though. Change the code to work properly on all hosts. Signed-off-by: Anthony Liguori <aliguori@us.ibm.com> git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@5570 c046a42c-6fe2-441c-8c8c-71466251a162
Diffstat (limited to 'hw/dma.c')
0 files changed, 0 insertions, 0 deletions