[OpenBIOS] [RFC PATCH 1/2] add power-mgt node under /pci/mac-io/via-cuda
programmingkidx at gmail.com
Tue Feb 26 01:48:30 CET 2013
On Feb 25, 2013, at 7:11 PM, Mark Cave-Ayland wrote:
> On 24/02/13 00:24, Amadeusz Sławiński wrote:
>> xnu needs power-mgt node otherwise it panics
>> I see two possible locations
>> either /pci/mac-io/power-mgt
>> or /pci/mac-io/via-cuda/power-mgt
>> also seen it under /pci/pci-bridge/mac-io/via-pmu/power-mgt
>> 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.
My own research indicates that the PowerMac1,1 is the model that is most similar to QEMU's model. Here is some information about that model: http://www.everymac.com/ultimate-mac-lookup/?search_keywords=PowerMac1,1
According to Andreas Farber's research, the PowerMac1,1 doesn't have a uni-north node to begin with. It has instead a Grackle node. I suspect Mac OS X reads the incorrect value of PowerMac2,1 and tried to query for a uni-north node.
More information about the OpenBIOS