[OpenBIOS] [PATCH] Read size of installed memory from LinuxBIOS table

Mitch Bradley wmb at firmworks.com
Fri Oct 12 01:47:34 CEST 2007



Torsten Duwe wrote:
> On Wednesday 10 October 2007, Jens Freimann wrote:
>   
>> Hi,
>>
>> this patch makes OFW read the size of installed RAM from the LinuxBIOS
>> table instead of fetching it from mem-info-pa.
>>     
>
> This nicely replaces my ugly hack. The only  2 qestions remaining are how a 
> loaded Linux kernel gets the memory info: via LB-Tables or OFW devtree? 
> Preferably both possible ways, I'd say. Weren't there patches on LKML ages 
> ago? And the other is about memory > 4GB: lb-memsize accepts 64-bit 
> addresses?
>   

It would probably be a good idea to make the root node and the memory 
node have 2-cell addresses.

> But good work nonetheless!
>
> Acked-by: Torsten Duwe <duwe at lst.de>
>
>   



More information about the OpenBIOS mailing list