public
/
FUZIX.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
cb5c45c
)
dragon: update to need_resched
author
Alan Cox
<alan@linux.intel.com>
Mon, 1 Jun 2015 20:09:55 +0000
(21:09 +0100)
committer
Alan Cox
<alan@linux.intel.com>
Mon, 1 Jun 2015 20:09:55 +0000
(21:09 +0100)
Kernel/platform-dragon/tricks.s
patch
|
blob
|
history
diff --git
a/Kernel/platform-dragon/tricks.s
b/Kernel/platform-dragon/tricks.s
index
7dd86f5
..
c68e544
100644
(file)
--- a/
Kernel/platform-dragon/tricks.s
+++ b/
Kernel/platform-dragon/tricks.s
@@
-48,10
+48,6
@@
_switchout:
pshs d
sts U_DATA__U_SP
- ; set inint to false
- lda #0
- sta _inint
-
; find another process to run (may select this one again) returns it
; in X
jsr _getproc
@@
-84,8
+80,8
@@
_switchin:
puls x ; return code
; enable interrupts, if the ISR isn't already running
- lda
_inint
- b
eq
swtchdone ; in ISR, leave interrupts off
+ lda
U_DATA__U_ININTERRUPT
+ b
ne
swtchdone ; in ISR, leave interrupts off
andcc #0xef
swtchdone:
rts