* [Qemu-devel] [Patch] fix segfault of qemu-system-arm
@ 2009-08-15 12:13 Torsten Duwe
0 siblings, 0 replies; only message in thread
From: Torsten Duwe @ 2009-08-15 12:13 UTC (permalink / raw)
To: qemu-devel
qemu-system-arm (0.10.5) segfaults when invoked with a PXA machine target,
e.g. -M tosa. The reason is fairly obvious:
--- qemu-0.10.5/hw/zaurus.c.orig 2009-05-20 22:46:59.000000000 +0200
+++ qemu-0.10.5/hw/zaurus.c 2009-08-15 01:45:57.000000000 +0200
@@ -160,7 +160,7 @@
void scoop_gpio_set(void *opaque, int line, int level)
{
- struct scoop_info_s *s = (struct scoop_info_s *) s;
+ struct scoop_info_s *s = (struct scoop_info_s *) opaque;
if (level)
s->gpio_level |= (1 << line);
The same problem exists in the curent git.
Torsten
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2009-08-15 12:13 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-08-15 12:13 [Qemu-devel] [Patch] fix segfault of qemu-system-arm Torsten Duwe
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).