public
/
FUZIX.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2465b83
)
sc108: note a bug
author
Alan Cox
<alan@linux.intel.com>
Sun, 9 Dec 2018 00:52:45 +0000
(
00:52
+0000)
committer
Alan Cox
<alan@linux.intel.com>
Sun, 9 Dec 2018 00:52:45 +0000
(
00:52
+0000)
Kernel/platform-sc108/sc108.s
patch
|
blob
|
history
diff --git
a/Kernel/platform-sc108/sc108.s
b/Kernel/platform-sc108/sc108.s
index
f7ed1f2
..
33e65aa
100644
(file)
--- a/
Kernel/platform-sc108/sc108.s
+++ b/
Kernel/platform-sc108/sc108.s
@@
-457,11
+457,11
@@
syscall_high:
ld h,13(ix)
pop ix
di
+ ; BUG: syscall corrupts AF' - should we just define some
+ ; alt register corruptors for new API - would be sanest fix
ex af, af' ; Ick - find a better way to do this bit !
- push af
ld a,#1
out (0x38),a
- pop af
ex af,af'
; Stack now invalid
ld (U_DATA__U_SYSCALL_SP),sp