From: Christoph Hellwig <hch@lst.de>
To: qemu-devel@nongnu.org
Cc: Torsten Duwe <duwe@lst.de>
Subject: [Qemu-devel] [PATCH] fix segfault of qemu-system-arm with PXA target
Date: Sat, 15 Aug 2009 23:17:58 +0200 [thread overview]
Message-ID: <20090815211758.GA23634@lst.de> (raw)
qemu-system-arm (0.10.5) segfaults when invoked with a PXA machine target,
e.g. -M tosa. The reason is fairly obvious:
[hch: forward ported from qemu-0.11 to current git HEAD]
Signed-off-by: Torsten Duwe <duwe@lst.de>
Signed-off-by: Christoph Hellwig <hch@lst.de>
Index: qemu/hw/zaurus.c
===================================================================
--- qemu.orig/hw/zaurus.c 2009-08-15 18:13:46.102699041 -0300
+++ qemu/hw/zaurus.c 2009-08-15 18:13:55.366663320 -0300
@@ -155,7 +155,7 @@ static CPUWriteMemoryFunc *scoop_writefn
void scoop_gpio_set(void *opaque, int line, int level)
{
- ScoopInfo *s = (ScoopInfo *) s;
+ ScoopInfo *s = (ScoopInfo *) opaque;
if (level)
s->gpio_level |= (1 << line);
reply other threads:[~2009-08-15 21:18 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
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=20090815211758.GA23634@lst.de \
--to=hch@lst.de \
--cc=duwe@lst.de \
--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).