aboutsummaryrefslogtreecommitdiff
path: root/hw/mips_malta.c
diff options
context:
space:
mode:
authorChen Rui <chennrui@gmail.com>2011-11-13 19:42:42 +0800
committerStefan Hajnoczi <stefanha@linux.vnet.ibm.com>2011-12-06 10:40:48 +0000
commita30cfee5ee6d4c6737de4549be1cb75c3ec539c8 (patch)
tree0ab6b4816ed1f79c892741d9fc3af226920b013b /hw/mips_malta.c
parent69ddaf6659c006599b530feb50604a584c79f329 (diff)
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