qemu-devel
[Top][All Lists]
Advanced

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

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


From: rui chen
Subject: Re: [Qemu-devel] endless loop when use qemu-system-mipsel to load bios
Date: Wed, 16 Nov 2011 23:21:10 +0800

sorry, here is my new patch file:

From 05f4abe8d8c37f1585f2bb7cb89b15426044bb65 Mon Sep 17 00:00:00 2001
From: Chen Rui <address@hidden>
Date: Sun, 13 Nov 2011 19:42:42 +0800
Subject: [PATCH] resolve an endless loop when use qemu-system-mipsel to load bios


Signed-off-by: Chen Rui <address@hidden>
---
 hw/mips_malta.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

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
--
1.7.1


2011/11/15 Markus Armbruster <address@hidden>
rui chen <address@hidden> writes:

> 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>

Please use git-format-patch, not git-show.  And please put all of the
description in the commit message.

Finally, it helps to cc: the maintainer.  scripts/get_maintainer.pl can
help find him.  For your patch, it points to Aurelien (cc'ed).

> 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

Attachment: 0001-resolve-an-endless-loop-when-use-qemu-system-mipsel-.patch
Description: Text Data


reply via email to

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