[OpenBIOS] [PATCH v4 1/2] ofmem: Use phys_addr_t for physical addresses

Andreas Färber andreas.faerber at web.de
Sun Dec 12 14:28:04 CET 2010


Am 09.12.2010 um 11:10 schrieb Mark Cave-Ayland:

> Andreas Färber wrote:
>
>> Based on Mark's previous work, let ofmem handle addresses wider  
>> than one cell.
>> This is based on the assumption that sizeof(phys_addr_t) >=  
>> sizeof(ucell).
>> Affected are in particular sparc32 (36 bits) and ppc64 (64 bits).
>> As a consequence, some range_t related code shared with virtual/ 
>> effective
>> addresses needed to be migrated, too. Since both address types are  
>> unsigned
>> this should be okay.
>> v4:
>> * Coding style fixes and comments, as suggested by Mark.
>
> Looks good to me.
>
> Signed-off-by: Mark Cave-Ayland <mark.cave-ayland at siriusit.co.uk>

Thanks, applied as r981.

Andreas


More information about the OpenBIOS mailing list