public
/
FUZIX.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d893233
)
dragon-nx32: After unstashing stack, use new stack pointer right away
author
Tormod Volden
<debian.tormod@gmail.com>
Sun, 19 Apr 2015 16:43:45 +0000
(18:43 +0200)
committer
Alan Cox
<alan@linux.intel.com>
Sun, 19 Apr 2015 17:46:00 +0000
(18:46 +0100)
The following jsr will otherwise possibly clobber the stack.
Signed-off-by: Tormod Volden <debian.tormod@gmail.com>
Kernel/platform-dragon-nx32/tricks.s
patch
|
blob
|
history
diff --git
a/Kernel/platform-dragon-nx32/tricks.s
b/Kernel/platform-dragon-nx32/tricks.s
index
85baf85
..
c621bb9
100644
(file)
--- a/
Kernel/platform-dragon-nx32/tricks.s
+++ b/
Kernel/platform-dragon-nx32/tricks.s
@@
-108,6
+108,9
@@
stashb ldd ,x++
bne stashb
ldy _swapstack+2
+ ; we have now new stacks so get new stack pointer before any jsr
+ lds U_DATA__U_SP
+
; get back kernel page so that we see process table
jsr map_kernel