[PATCH] [POWERPC] convert transfer_to_handler into a macro

Paul Mackerras paulus at samba.org
Wed Apr 30 13:24:54 EST 2008


Kumar Gala writes:

> > Wouldn't it be better and safer to have the exception prolog for
> > critical interrupts save SRR0/1 in the stack frame, and have the
> > prolog for machine checks save SRR0/1 and CSRR0/1 likewise?
> 
> If we do this I guess we can use SRR0/1 regardless of which level we  
> came from.

That's the idea.  I actually thought the booke exception prologs
already did that, but it seems I'm wrong.

What sort of things do you expect critical and machine-check handlers
to be needing to do?

Paul.



More information about the Linuxppc-dev mailing list