Commit c9b005f0 authored by Richard Henderson's avatar Richard Henderson

[ALPHA] Implement bcopy.

parent 0a1b9a13
...@@ -11,6 +11,15 @@ ...@@ -11,6 +11,15 @@
.set noreorder .set noreorder
.text .text
.align 4
.globl bcopy
.ent bcopy
bcopy:
mov $16,$0
mov $17,$16
mov $0,$17
.end bcopy
.align 4 .align 4
.globl memmove .globl memmove
.ent memmove .ent memmove
......
...@@ -13,6 +13,7 @@ ...@@ -13,6 +13,7 @@
#define __HAVE_ARCH_MEMCPY #define __HAVE_ARCH_MEMCPY
extern void * memcpy(void *, const void *, size_t); extern void * memcpy(void *, const void *, size_t);
#define __HAVE_ARCH_MEMMOVE #define __HAVE_ARCH_MEMMOVE
#define __HAVE_ARCH_BCOPY
extern void * memmove(void *, const void *, size_t); extern void * memmove(void *, const void *, size_t);
/* For backward compatibility with modules. Unused otherwise. */ /* For backward compatibility with modules. Unused otherwise. */
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment