public
/
FUZIX.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b583efc
)
6809: hopefully sort out the branches and stack save this time
author
Alan Cox
<alan@linux.intel.com>
Tue, 2 Jun 2015 23:27:25 +0000
(
00:27
+0100)
committer
Alan Cox
<alan@linux.intel.com>
Tue, 2 Jun 2015 23:27:25 +0000
(
00:27
+0100)
Kernel/lowlevel-6809.s
patch
|
blob
|
history
diff --git
a/Kernel/lowlevel-6809.s
b/Kernel/lowlevel-6809.s
index
f282c4f
..
963bd5c
100644
(file)
--- a/
Kernel/lowlevel-6809.s
+++ b/
Kernel/lowlevel-6809.s
@@
-288,9
+288,9
@@
in_kernel:
clr _inint
ldx istack_switched_sp ; stack back
- lda U_DATA__U_INSYS
clr U_DATA__U_ININTERRUPT
- bne interrupt_return
+ lda U_DATA__U_INSYS
+ bne interrupt_return_x
lda _need_resched
beq no_switch
@@
-337,6
+337,9
@@
intdone:
interrupt_return:
SAM_RESTORE ; uses the saved Y
rti
+interrupt_return_x:
+ tfr x,s
+ bra interrupt_return
; Enter with X being the signal to send ourself
trap_signal: