[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Qemu-commits] [COMMIT 8d30b79] Fix segfault of qemu-system-arm with PXA
From: |
Anthony Liguori |
Subject: |
[Qemu-commits] [COMMIT 8d30b79] Fix segfault of qemu-system-arm with PXA target |
Date: |
Sun, 23 Aug 2009 16:27:36 -0000 |
From: Torsten Duwe <address@hidden>
qemu-system-arm (0.10.5) segfaults when invoked with a PXA machine target,
e.g. -M tosa. The reason is fairly obvious:
Signed-off-by: Torsten Duwe <address@hidden>
Signed-off-by: Christoph Hellwig <address@hidden>
Signed-off-by: Andrzej Zaborowski <address@hidden>
diff --git a/hw/zaurus.c b/hw/zaurus.c
index e52f29b..78a120c 100644
--- a/hw/zaurus.c
+++ b/hw/zaurus.c
@@ -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);
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Qemu-commits] [COMMIT 8d30b79] Fix segfault of qemu-system-arm with PXA target,
Anthony Liguori <=