summaryrefslogtreecommitdiffstats
path: root/include/exec
diff options
context:
space:
mode:
authorBenjamin Herrenschmidt2017-09-20 08:20:00 +0200
committerDavid Gibson2017-09-27 05:05:41 +0200
commit4f7265ff177df2886ccaed0bca318dc81a7f5e75 (patch)
tree3b2d28b345865b9dae44105f63b7c27901146315 /include/exec
parentppc/mac: More rework of the DBDMA emulation (diff)
downloadqemu-4f7265ff177df2886ccaed0bca318dc81a7f5e75.tar.gz
qemu-4f7265ff177df2886ccaed0bca318dc81a7f5e75.tar.xz
qemu-4f7265ff177df2886ccaed0bca318dc81a7f5e75.zip
ppc/ide/macio: Add missing registers
The timing register exists on all variants of MacIO IDE, we just store and return its value. The interrupts register only exists on KeyLargo but it doesn't hurt to have it. The lack of this register causes MacOS X to hangs under some circumstances. Both are 32-bit only. The HW might support smaller access sizes but no known OS uses them. Because the core IDE subsystem doesn't provide us with a way to query the main (level) interrupt state, nor do we have a way to know that DBDMA issued a (edge) interrupt, we reflect both through a private pair of qirq's in order to maintain the register state. Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org> Signed-off-by: David Gibson <david@gibson.dropbear.id.au>
Diffstat (limited to 'include/exec')
0 files changed, 0 insertions, 0 deletions