public
/
FUZIX.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
65127db
)
z80: Override __memcpy with our own so banked bins don't crash if it gets in
author
Alan Cox
<alan@linux.intel.com>
Thu, 22 Nov 2018 00:18:36 +0000
(
00:18
+0000)
committer
Alan Cox
<alan@linux.intel.com>
Thu, 22 Nov 2018 00:18:36 +0000
(
00:18
+0000)
Kernel/lowlevel-z80-banked.s
patch
|
blob
|
history
diff --git
a/Kernel/lowlevel-z80-banked.s
b/Kernel/lowlevel-z80-banked.s
index
0a1524d
..
f6ad820
100644
(file)
--- a/
Kernel/lowlevel-z80-banked.s
+++ b/
Kernel/lowlevel-z80-banked.s
@@
-1290,11
+1290,13
@@
__mul16::
.globl _memmove
.globl _memcpy
+ .globl ___memcpy
; The Z80 has the ldir and lddr instructions, which are perfect for implementing memmove().
_memcpy:
_memmove:
+___memcpy:
pop af
pop iy
pop hl