[OpenBIOS] [PATCH 3/6] Introduce va2pa() and pa2va() functions for PPC for subsequent use by OFMEM.
Andreas Färber
andreas.faerber at web.de
Thu Dec 30 23:43:29 CET 2010
Am 30.12.2010 um 21:20 schrieb Mark Cave-Ayland:
>> I did point out that we're missing the opposite direction, so I was
>> hoping you would add an ofmem_translate_inverse() or so, so that both
>> could almost symmetrically use those functions, not just for ppc.
>
> Possibly, although I took a glance at the hash table code and
> couldn't immediately get my head around how to come up with the
> reverse mapping.
There's a list of translations in ofmem_t that we'd have to iterate
through, no? :)
The hash tables are platform-specific and possibly incomplete.
Andreas
More information about the OpenBIOS
mailing list