qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* [Qemu-devel] endless loop when use qemu-system-mipsel to load bios
@ 2011-11-11 18:26 rui chen
  2011-11-15 14:41 ` Markus Armbruster
  0 siblings, 1 reply; 5+ messages in thread
From: rui chen @ 2011-11-11 18:26 UTC (permalink / raw)
  To: qemu-devel

[-- Attachment #1: Type: text/plain, Size: 763 bytes --]

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 <chennrui@gmail.com>
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 <chennrui@gmail.com>

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

[-- Attachment #2: Type: text/html, Size: 982 bytes --]

^ permalink raw reply related	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2011-12-06 10:44 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-11-11 18:26 [Qemu-devel] endless loop when use qemu-system-mipsel to load bios rui chen
2011-11-15 14:41 ` Markus Armbruster
2011-11-16 15:21   ` rui chen
2011-12-03 22:27     ` Stefan Weil
2011-12-06 10:44       ` [Qemu-devel] [Qemu-trivial] " Stefan Hajnoczi

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).