[OpenBIOS] [PATCH] More complete PowerPC OpenFirmware emulation -- adding bus-frequency
tarl-b2 at tarl.net
Tue Aug 9 23:42:25 CEST 2011
On 2011-Aug-9 17:13 , Alexander von Gluck wrote:
> I can see your argument on blindly supporting it, Haiku checks for it and
> cpu frequency and stops booting if it is missing. I could just change
> code to not require it.. but:
> * I'd rather have the information then not (even if it is just 0)
> * the parameter exists on *every* Apple openfirmware implementation
> (i've verified this on a G3 bronze powerbook, G3 iBook, G4
> QuickSilver, G5 iMac)
> * as the parameter exists on all new-world Apple systems, who knows
> what other
> operating systems this breaks compatibility with?
For what it's worth, Sun systems don't (currently) use a "bus-frequency"
property. We do have a "stick-frequency" property, which relates the
"stick" register to real-time nanoseconds, but that's specific to the
sun4v series of platforms.
More information about the OpenBIOS