diff options
| author | Richard Henderson <rth@kanga.twiddle.net> | 2003-06-08 01:29:53 -0700 |
|---|---|---|
| committer | Richard Henderson <rth@kanga.twiddle.net> | 2003-06-08 01:29:53 -0700 |
| commit | c9b005f05423d60190fa2d549215084e4e01f5d3 (patch) | |
| tree | 3a13a9ecbe2684eff9ecbf11edb066fb1bc9d536 | |
| parent | 0a1b9a138ad9819747aa8cae26b06a0b4a149645 (diff) | |
[ALPHA] Implement bcopy.
| -rw-r--r-- | arch/alpha/lib/memmove.S | 9 | ||||
| -rw-r--r-- | include/asm-alpha/string.h | 1 |
2 files changed, 10 insertions, 0 deletions
diff --git a/arch/alpha/lib/memmove.S b/arch/alpha/lib/memmove.S index 73aed92537d0..a09e1d13bc6c 100644 --- a/arch/alpha/lib/memmove.S +++ b/arch/alpha/lib/memmove.S @@ -12,6 +12,15 @@ .text .align 4 + .globl bcopy + .ent bcopy +bcopy: + mov $16,$0 + mov $17,$16 + mov $0,$17 + .end bcopy + + .align 4 .globl memmove .ent memmove memmove: diff --git a/include/asm-alpha/string.h b/include/asm-alpha/string.h index 9e44fea669bf..4266af221932 100644 --- a/include/asm-alpha/string.h +++ b/include/asm-alpha/string.h @@ -13,6 +13,7 @@ #define __HAVE_ARCH_MEMCPY extern void * memcpy(void *, const void *, size_t); #define __HAVE_ARCH_MEMMOVE +#define __HAVE_ARCH_BCOPY extern void * memmove(void *, const void *, size_t); /* For backward compatibility with modules. Unused otherwise. */ |
