On 24/02/13 00:24, Amadeusz Sławiński wrote:
xnu needs power-mgt node otherwise it panics http://www.opensource.apple.com/source/AppleCore99PE/AppleCore99PE-121.0.2/C...
I see two possible locations either /pci/mac-io/power-mgt http://web.archive.org/web/20090107152212/http://penguinppc.org/historical/d... or /pci/mac-io/via-cuda/power-mgt http://web.archive.org/web/20090107144433/http://penguinppc.org/historical/d...
also seen it under /pci/pci-bridge/mac-io/via-pmu/power-mgt http://web.archive.org/web/20090107151044/http://penguinppc.org/historical/d...
Seems like it is basically used to fake powermanagement
Agreed - it doesn't seem to matter particularly where the node lies, but I suppose it's a hint for the parent device. I'd compare the OpenBIOS device tree with the historical dev trees ("cd /" followed by "show-devs"), work out which Mac99 model is closest (hence being the model emulated by QEMU) and use that as a baseline.
HTH,
Mark.