]> xenbits.xensource.com Git - qemu-upstream-4.6-testing.git/commitdiff
mips_malta: resolve endless loop when loading bios
authorChen Rui <chennrui@gmail.com>
Sun, 13 Nov 2011 11:42:42 +0000 (19:42 +0800)
committerStefan Hajnoczi <stefanha@linux.vnet.ibm.com>
Tue, 6 Dec 2011 10:40:48 +0000 (10:40 +0000)
Tested-by: Stefan Weil <sw@weilnetz.de>
Signed-off-by: Chen Rui <chennrui@gmail.com>
hw/mips_malta.c

index bb497495695810e14aed15cd9dbb068e480085d8..e7dfbd6632bb05c6071a6da54fbc1746607982a7 100644 (file)
@@ -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