On Tue, Feb 09, 2016 at 10:28:48AM -0500, Programmingkid wrote:
You may be right. This code on Mac OS X does not allow the driver to work because of DMA issues. It is from the PPCSerialPort.cpp file.
You can add debug statements in qemu to the dbdma code (print reads or writes if channel isn't 0x16 nor 0x1a, they're the ATA channels); if I add DMA addresses and do this, the first attempted write I see is when I crash into MacsBug (and only if MacsBug is running). But that might just be because I'm crashing too early in my test runs, who knows..
For the ch-a node, setting the 32-bit number to 1 would be right since it is only one port.
I have honestly no idea what a slot is! I have the documentation for it open .. somewhere. So I'm just assuming/hoping that 1 makes sense.
- Alyssa