From: Alan Cox Date: Sun, 1 Feb 2015 20:34:34 +0000 (+0000) Subject: 68000: note need to change doexec X-Git-Url: https://git.ndcode.org/public/gitweb.cgi?a=commitdiff_plain;h=2310ecab386075746ce17fddb227b130bf44f921;p=FUZIX.git 68000: note need to change doexec --- diff --git a/Kernel/lowlevel-68000.S b/Kernel/lowlevel-68000.S index 95d4fa78..3c59065f 100644 --- a/Kernel/lowlevel-68000.S +++ b/Kernel/lowlevel-68000.S @@ -37,6 +37,11 @@ irqrestore: rts doexec: + ; + ; FIXME: we need to reset sp (we effectively longjmp + ; in supervisor space), then push the values. If we + ; don't then the supervisor stack will go awry + ; move.l (sp)+,a0 ; throw the return address clr.w -(sp) ; set up the status register move.l U_DATA__U_ISP,a0