public
/
FUZIX.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a018687
)
68000: note need to change doexec
author
Alan Cox
<alan@linux.intel.com>
Sun, 1 Feb 2015 20:34:34 +0000
(20:34 +0000)
committer
Alan Cox
<alan@linux.intel.com>
Sun, 1 Feb 2015 20:34:34 +0000
(20:34 +0000)
Kernel/lowlevel-68000.S
patch
|
blob
|
history
diff --git
a/Kernel/lowlevel-68000.S
b/Kernel/lowlevel-68000.S
index
95d4fa7
..
3c59065
100644
(file)
--- 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