[OpenBIOS] [RFC] Switch OFMEM to use phys_addr_t for physical addresses

Andreas Färber andreas.faerber at web.de
Sun Nov 7 21:12:38 CET 2010


Am 07.11.2010 um 13:02 schrieb Andreas Färber:

> Am 07.11.2010 um 12:16 schrieb Mark Cave-Ayland:
>
>> Here is my first attempt at switching over OFMEM to use phys_addr_t  
>> for physical addresses. It was mainly a case of going through all  
>> of the OFMEM APIs by hand and then updating the definitions used to  
>> hold physical addresses, along with swapping over range_t to use  
>> phys_addr_t on the assumption that sizeof(phys_addr_t) >=  
>> sizeof(ucell).
>
> Looking good so far, except for one issue.

With trace disabled, works as before for:

Debian4/ppc
Debian4/ppc64-via-ppc
Haiku/ppc
FreeBSD8/ppc
AIX6/ppc
AIX6/ppc64-via-ppc
Milax/sparc64
Solaris10/sparc64

Andreas


More information about the OpenBIOS mailing list