From: Hollis Blanchard <hollisb@us.ibm.com>
To: qemu-devel@nongnu.org
Subject: [Qemu-devel] Re:
Date: Thu, 11 Dec 2008 16:32:45 -0600 [thread overview]
Message-ID: <1229034765.26586.34.camel@localhost.localdomain> (raw)
In-Reply-To: <1229033553-26097-1-git-send-email-hollisb@us.ibm.com>
On Thu, 2008-12-11 at 16:12 -0600, Hollis Blanchard wrote:
> I'm not familiar with this device, but I'm fairly certain the writel handler is
> not supposed to recurse.
>
> Signed-off-by: Hollis Blanchard <hollisb@us.ibm.com>
>
> diff --git a/hw/ppc405_boards.c b/hw/ppc405_boards.c
> index 4144dae..1d8b6ab 100644
> --- a/hw/ppc405_boards.c
> +++ b/hw/ppc405_boards.c
> @@ -129,9 +129,9 @@ static uint32_t ref405ep_fpga_readl (void *opaque, target_phys_addr_t addr)
> static void ref405ep_fpga_writel (void *opaque,
> target_phys_addr_t addr, uint32_t value)
> {
> - ref405ep_fpga_writel(opaque, addr, (value >> 24) & 0xFF);
> - ref405ep_fpga_writel(opaque, addr + 1, (value >> 16) & 0xFF);
> - ref405ep_fpga_writel(opaque, addr + 2, (value >> 8) & 0xFF);
> + ref405ep_fpga_writeb(opaque, addr, (value >> 24) & 0xFF);
> + ref405ep_fpga_writeb(opaque, addr + 1, (value >> 16) & 0xFF);
> + ref405ep_fpga_writeb(opaque, addr + 2, (value >> 8) & 0xFF);
> ref405ep_fpga_writeb(opaque, addr + 3, value & 0xFF);
> }
If git weren't dumb, the subject would have read "Fix 405 FPGA emulation
typo".
--
Hollis Blanchard
IBM Linux Technology Center
next prev parent reply other threads:[~2008-12-11 22:32 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-12-11 22:12 [Qemu-devel] (no subject) Hollis Blanchard
2008-12-11 22:32 ` Hollis Blanchard [this message]
2008-12-11 22:43 ` Aurelien Jarno
-- strict thread matches above, loose matches on Subject: below --
2008-05-20 22:48 [Qemu-devel] Girish V
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1229034765.26586.34.camel@localhost.localdomain \
--to=hollisb@us.ibm.com \
--cc=qemu-devel@nongnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).