qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Qemu-devel] endless loop when use qemu-system-mipsel to load bios


From: rui chen
Subject: [Qemu-devel] endless loop when use qemu-system-mipsel to load bios
Date: Sat, 12 Nov 2011 02:26:38 +0800

Hi all,
    When I try to use command line "qemu-system-mipsel -M malta -L . -nographic" to run redboot,  it will have an endless loop, then I find this bug, here is my patch:


Author: Chen Rui <address@hidden>
Date:   Sat Nov 12 01:38:23 2011 +0800

    resolve an endless loop when use qemu-system-mipsel to load bios

    Signed-off-by: Chen Rui <address@hidden>

diff --git a/hw/mips_malta.c b/hw/mips_malta.c
index bb49749..e7dfbd6 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


--
rui chen
=======
   B.R


reply via email to

[Prev in Thread] Current Thread [Next in Thread]