* [Qemu-devel] [PATCH] fix segfault of qemu-system-arm with PXA target
@ 2009-08-15 21:17 Christoph Hellwig
0 siblings, 0 replies; only message in thread
From: Christoph Hellwig @ 2009-08-15 21:17 UTC (permalink / raw)
To: qemu-devel; +Cc: Torsten Duwe
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);
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2009-08-15 21:18 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-08-15 21:17 [Qemu-devel] [PATCH] fix segfault of qemu-system-arm with PXA target Christoph Hellwig
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).