[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Qemu-devel] sparc32_dma: correctly initialize ledma base address
From: |
Bob Breuer |
Subject: |
[Qemu-devel] sparc32_dma: correctly initialize ledma base address |
Date: |
Thu, 11 Aug 2011 11:11:58 -0500 |
User-agent: |
Thunderbird 2.0.0.24 (Windows/20100228) |
The ledma base address defaults to 0xff000000 on reset. This
fixes a bug with Solaris and SS-20 OBP when boot net is skipped.
Signed-off-by: Bob Breuer <address@hidden>
---
diff --git a/hw/sparc32_dma.c b/hw/sparc32_dma.c
index e75694b..61812fb 100644
--- a/hw/sparc32_dma.c
+++ b/hw/sparc32_dma.c
@@ -252,6 +252,9 @@ static void dma_reset(DeviceState *d)
memset(s->dmaregs, 0, DMA_SIZE);
s->dmaregs[0] = DMA_VER;
+ if (s->is_ledma) {
+ s->dmaregs[3] = 0xff000000;
+ }
}
static const VMStateDescription vmstate_dma = {
- [Qemu-devel] sparc32_dma: correctly initialize ledma base address,
Bob Breuer <=