summaryrefslogtreecommitdiffstats
path: root/hw/mips_malta.c
diff options
context:
space:
mode:
authorChen Rui2011-11-13 12:42:42 +0100
committerStefan Hajnoczi2011-12-06 11:40:48 +0100
commita30cfee5ee6d4c6737de4549be1cb75c3ec539c8 (patch)
tree0ab6b4816ed1f79c892741d9fc3af226920b013b /hw/mips_malta.c
parentmemory: minor documentation fixes/enhancements (diff)
downloadqemu-a30cfee5ee6d4c6737de4549be1cb75c3ec539c8.tar.gz
qemu-a30cfee5ee6d4c6737de4549be1cb75c3ec539c8.tar.xz
qemu-a30cfee5ee6d4c6737de4549be1cb75c3ec539c8.zip
mips_malta: resolve endless loop when loading bios
Tested-by: Stefan Weil <sw@weilnetz.de> Signed-off-by: Chen Rui <chennrui@gmail.com>
Diffstat (limited to 'hw/mips_malta.c')
-rw-r--r--hw/mips_malta.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/hw/mips_malta.c b/hw/mips_malta.c
index bb49749569..e7dfbd6632 100644
--- a/hw/mips_malta.c
+++ b/hw/mips_malta.c
@@ -911,6 +911,7 @@ void mips_malta_init (ram_addr_t ram_size,
uint32_t *end = addr + bios_size;
while (addr < end) {
bswap32s(addr);
+ addr++;
}
}
#endif