68000: note need to change doexec
authorAlan Cox <alan@linux.intel.com>
Sun, 1 Feb 2015 20:34:34 +0000 (20:34 +0000)
committerAlan Cox <alan@linux.intel.com>
Sun, 1 Feb 2015 20:34:34 +0000 (20:34 +0000)
Kernel/lowlevel-68000.S

index 95d4fa7..3c59065 100644 (file)
@@ -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