]> git.proxmox.com Git - qemu.git/commit - hw/sparc/sun4m.c
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)
commit86d1c3887f8665204e2c7454003ac71a6a52e806
treeb17fceb3e00ceda606ebfa02ebd0b5e3c104b81a
parent4d22c6c2eef69f20e1f4a398e277d6c8dbc4e5b9
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