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