[OpenBIOS] Latest SPARC64 & Milax update
Stefan Reinauer
stepan at openbios.org
Sat Jan 2 13:16:40 CET 2010
On 1/2/10 12:39 PM, Mark Cave-Ayland wrote:
> Stefan Reinauer wrote:
>
>> I don't think that's the right approach, because the code in Milax seems
>> to be what's not standard conform here. It relies on an implementation
>> specific detail of SUN's OFW.
>>
>> IEEE 1275-1994 says:
>>> Thus, they cannot be accessed at fixed locations, but instead must be
>> accessed by name. Users can access them by name using printenv and
>> setenv.
>>
>> Note there is no mentioning of any specific data type for configuration
>> variables anywhere in 7.4.4.1. Milax assumes that load-base is a value
>> (not a variable), hence the "to".
>
> Alas it seems this is still present in OpenSolaris too :( I'm
> guessing they should be using "printenv", right?
Milax writes some value on the stack to "load-base". So I think they
should be using something like
<# u#s u#> " load-base" " $setenv init-program" evaluate
I wonder why load-base is an environment variable at all, since it seems
to be calculated on every boot anyways.
Stefan
More information about the OpenBIOS
mailing list