[OpenBIOS] [RFC] Switch OFMEM to use phys_addr_t for physical addresses
Mark Cave-Ayland
mark.cave-ayland at siriusit.co.uk
Sun Nov 7 12:16:42 CET 2010
Hi all,
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).
Andreas - note I've not touched anything in ppc64 as I figure this is
still experimental and I don't really have anything to test it with.
This patch seems to work on my SPARC64/PPC tests here, but since it
touches a core part of OpenBIOS I'd like to get a little more feedback
before committing it.
ATB,
Mark.
--
Mark Cave-Ayland - Senior Technical Architect
PostgreSQL - PostGIS
Sirius Corporation plc - control through freedom
http://www.siriusit.co.uk
t: +44 870 608 0063
Sirius Labs: http://www.siriusit.co.uk/labs
-------------- next part --------------
A non-text attachment was scrubbed...
Name: openbios-ofmem-physaddr.patch
Type: text/x-diff
Size: 9522 bytes
Desc: not available
URL: <http://lists.openbios.org/pipermail/openbios/attachments/20101107/08157106/attachment.bin>
More information about the OpenBIOS
mailing list