Andreas Färber <afaer...@suse.de> writes: > Hello, > > As requested by Markus, here's a conversion of MacIO IDE to QOM. > There's more work to be done, but in light of the approaching Soft Freeze > here's my current state of affairs, lightly tested. > > Patch 1 is a generic QOM API fix and could be applied independent of the > ppc device conversion. > > Patch 2 goes on to move PowerMac machines to hw/ppc/ as discussed with Alex. > The intent would be to do the same for PReP once applied. > > The remainder revives an old patch from the time of QOM introduction to split > MacIO in two, allowing to move more logic into the device from the machine. > This time it adopts new QOM concepts for embedding the sub-devices converted > in the following patches. TODO: finalization support / object_unref(). > > ADB is still being worked on. DBDMA still TODO (but then again so is x86 DMA). > ESCC would affect sparc as well. > The PICs pose cyclic dependency issues (mapped inside MacIO but MacIO as a > PCIDevice needing a PCIBus, the Grackle/UniNorth PHBs needing a PIC IRQ).
Looks like a useful step forward to me already, and I'm looking forward to patches you consider merge-worthy. Thanks!