> Le 28 mai 2014 à 10:02, Mark Cave-Ayland <mark.cave-ayland@ilande.co.uk> a écrit :
>
>
> On 28/05/14 00:59, Alexander Graf wrote:
>
> > On 26.05.14 23:24, BALATON Zoltan wrote:
> >> Do not put exception handler routines between 0x00-0xff as some OSes
> >> use this area for their own purposes and can corrupt them. (In
> >> particular MorphOS writes to 0x80 during boot). This patch frees up
> >> this area by moving the routines that were there higher.
> >>
> >> Signed-off-by: BALATON Zoltan <balaton@eik.bme.hu>
> >
> > So do you happen to have any idea why the code was written the way it
> > was written? I don't feel very confident that I grasp why the original
> > author did it that way.
>
> +1.

I think arch/ppc/qemu/start.S is coming from Mac-On-Linux. The MOL module is patching the host exception table to manage the virtual CPU. So I think this is the reason why it is written as it is.
But Alexander I think you know better than me how MOL is working.
 
Regards,
Laurent