[Qemu-devel] [PATCH] sparc32: ledma extra registers need tracing too

2010-12-19 Thread Bob Breuer
Also trace the extra registers, and call them undocumented instead. Signed-off-by: Bob Breuer breu...@mc.net diff --git a/hw/sparc32_dma.c b/hw/sparc32_dma.c index 56be8c8..0325a55 100644 --- a/hw/sparc32_dma.c +++ b/hw/sparc32_dma.c @@ -170,7 +170,9 @@ static uint32_t dma_mem_readl(void

[Qemu-devel] [PATCH] sparc32: ledma extra registers

2010-12-18 Thread Bob Breuer
ledma has 0x20 bytes of registers according to OBP, and at least Solaris9 reads the 5th register which is beyond what we've mapped. So let's setup a flag (inspired by a previous patch from Blue Swirl) to identify ledma from espdma, and map another 16 bytes of registers which return 0.