sparc32: ledma extra registers
authorBob Breuer <breuerr@mc.net>
Sat, 18 Dec 2010 17:09:04 +0000 (11:09 -0600)
committerBlue Swirl <blauwirbel@gmail.com>
Sat, 18 Dec 2010 18:31:22 +0000 (18:31 +0000)
commit02a37ac2ef22d07284401dbb69522adf1b16bb09
treeb17fceb3e00ceda606ebfa02ebd0b5e3c104b81a
parentc0f5f7ef142d41f2180bd767915cc6a7779f35e1
sparc32: ledma extra registers

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.

Signed-off-by: Bob Breuer <breuerr@mc.net>
Signed-off-by: Blue Swirl <blauwirbel@gmail.com>
hw/sparc32_dma.c
hw/sun4m.c