patch-2.2.18 linux/arch/arm/lib/memcpy.S
Next file: linux/arch/arm/lib/memset.S
Previous file: linux/arch/arm/lib/memchr.S
Back to the patch index
Back to the overall index
- Lines: 49
- Date:
Fri Sep 15 23:28:37 2000
- Orig file:
v2.2.17/arch/arm/lib/memcpy.S
- Orig date:
Fri Apr 21 12:45:45 2000
diff -u --new-file --recursive --exclude-from /usr/src/exclude v2.2.17/arch/arm/lib/memcpy.S linux/arch/arm/lib/memcpy.S
@@ -1,20 +1,17 @@
/*
- * linux/arch/arm/lib/segment.S
+ * linux/arch/arm/lib/memcpy.S
+ *
+ * Copyright (C) 1995-1999 Russell King
+ *
+ * ASM optimised string functions
*
- * Copyright (C) 1995, 1996 Russell King
- * Except memcpy/memmove routine.
*/
-
-#include <asm/assembler.h>
#include <linux/linkage.h>
-
-#ifndef ENTRY
-#define ENTRY(x...) \
- .globl _##x; \
-_##x:
-#endif
+#include <asm/assembler.h>
+#include "constants.h"
.text
+
#define ENTER \
mov ip,sp ;\
stmfd sp!,{r4-r9,fp,ip,lr,pc} ;\
@@ -26,9 +23,10 @@
#define EXITEQ \
LOADREGS(eqea, fp, {r4 - r9, fp, sp, pc})
-# Prototype: void memcpy(void *to,const void *from,unsigned long n);
-# ARM3: cant use memcopy here!!!
-
+/*
+ * Prototype: void memcpy(void *to,const void *from,unsigned long n);
+ * ARM3: cant use memcopy here!!!
+ */
ENTRY(memcpy)
ENTRY(memmove)
ENTER
@@ -316,4 +314,5 @@
b 24b
.align
+
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)