summaryrefslogtreecommitdiff
path: root/include/asm-ppc/string.h
diff options
context:
space:
mode:
authorwdenk <wdenk>2000-08-21 15:05:47 +0000
committerwdenk <wdenk>2000-08-21 15:05:47 +0000
commitb15cbc0be004d352d4dd661546847bd52fbf8a28 (patch)
tree73d4277296a2d00ca9b090c784584d94b3bc5bf8 /include/asm-ppc/string.h
parent40c855574cff21a97c01d8f8d2ee2b8436eebce2 (diff)
downloadu-boot-imx-b15cbc0be004d352d4dd661546847bd52fbf8a28.zip
u-boot-imx-b15cbc0be004d352d4dd661546847bd52fbf8a28.tar.gz
u-boot-imx-b15cbc0be004d352d4dd661546847bd52fbf8a28.tar.bz2
Initial revision
Diffstat (limited to 'include/asm-ppc/string.h')
-rw-r--r--include/asm-ppc/string.h29
1 files changed, 29 insertions, 0 deletions
diff --git a/include/asm-ppc/string.h b/include/asm-ppc/string.h
new file mode 100644
index 0000000..d912a6b
--- /dev/null
+++ b/include/asm-ppc/string.h
@@ -0,0 +1,29 @@
+#ifndef _PPC_STRING_H_
+#define _PPC_STRING_H_
+
+#define __HAVE_ARCH_STRCPY
+#define __HAVE_ARCH_STRNCPY
+#define __HAVE_ARCH_STRLEN
+#define __HAVE_ARCH_STRCMP
+#define __HAVE_ARCH_STRCAT
+#define __HAVE_ARCH_MEMSET
+#define __HAVE_ARCH_BCOPY
+#define __HAVE_ARCH_MEMCPY
+#define __HAVE_ARCH_MEMMOVE
+#define __HAVE_ARCH_MEMCMP
+#define __HAVE_ARCH_MEMCHR
+
+extern int strcasecmp(const char *, const char *);
+extern int strncasecmp(const char *, const char *, int);
+extern char * strcpy(char *,const char *);
+extern char * strncpy(char *,const char *, __kernel_size_t);
+extern __kernel_size_t strlen(const char *);
+extern int strcmp(const char *,const char *);
+extern char * strcat(char *, const char *);
+extern void * memset(void *,int,__kernel_size_t);
+extern void * memcpy(void *,const void *,__kernel_size_t);
+extern void * memmove(void *,const void *,__kernel_size_t);
+extern int memcmp(const void *,const void *,__kernel_size_t);
+extern void * memchr(const void *,int,__kernel_size_t);
+
+#endif