[OpenBIOS] setting the reg property of the mac-io node
mark.cave-ayland at ilande.co.uk
Tue Apr 2 22:41:00 CEST 2013
On 31/03/13 18:56, Programmingkid wrote:
> I am trying to set the reg property of the mac-io node so it matches the properties of a real Beige G3 computer. Does anyone know the file that this information is kept in? Mac OS X is very sensitive to the value of properties in Open Firmware. One wrong value is enough to stop Mac OS X from booting. Since OpenBIOS has a ton of missing and different values for properties with respect to the Beige G3, I theorized that this might be the reason why OpenBIOS can't make Mac OS X run. Any help with locating the reg property for the mac-io node would be great.
It looks as if the reg property is generated automatically from the PCI
registers during bus enumeration - search for ob_macio_keylargo_init()
and macio_keylargo_config_cb() in drivers/pci.c to see how the
enumeration callbacks work.
For testing purposes though, you could try and temporarily override it
in the openpic_init() function within drivers/macio.c
More information about the OpenBIOS