[OpenBIOS] ppc64 MMU issues

Alexander Graf agraf at suse.de
Mon Nov 8 23:03:43 CET 2010

On 08.11.2010, at 22:48, Andreas Färber wrote:

> Am 08.11.2010 um 10:34 schrieb Mark Cave-Ayland:
>> Andreas Färber wrote:
>>> Since r945 everything except for the trampoline issue should be in SVN.
>> Cool! :)
> Ah, no! Forgot about the exception handlers (preamble, epilogue). :( I have local patches that #ifdef the whole definitions and provide alternative ones for ppc64. But I'd rather supply a 2-step patch to drop the template macros and use #ifdef'ery inside the macro definition for ppc64/ppc differences, given that long-term we won't need the second version.

Are you sure you need that? Most of the stuff should be generic. Please take a look at Linux's PPC_LL macro for example. The stack layout varies slightly, but that should also be reasonably easy to catch.


More information about the OpenBIOS mailing list