MOXA linux-2.6.x / linux-2.6.19-uc1 from UC-7110-LX-BOOTLOADER-1.9_VERSION-4.2.tgz
[linux-2.6.19-moxart.git] / include / asm-nios2nommu / string.h
blob7e394790f54265fd1620a875bd216d0af6bd0f4f
1 #ifndef __NIOS_STRING_H__
2 #define __NIOS_STRING_H__
4 /*--------------------------------------------------------------------
6 * include/asm-nios2nommu/string.h
8 * Derived from various works, Alpha, ix86, M68K, Sparc, ...et al
10 * Copyright (C) 1995 David S. Miller (davem@caip.rutgers.edu)
11 * Copyright (C) 2004 Microtronix Datacom Ltd
13 * This program is free software; you can redistribute it and/or modify
14 * it under the terms of the GNU General Public License as published by
15 * the Free Software Foundation; either version 2 of the License, or
16 * (at your option) any later version.
18 * This program is distributed in the hope that it will be useful,
19 * but WITHOUT ANY WARRANTY; without even the implied warranty of
20 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
21 * GNU General Public License for more details.
24 * Jan/20/2004 dgt NiosII
26 ---------------------------------------------------------------------*/
29 #ifdef __KERNEL__ /* only set these up for kernel code */
31 #define __HAVE_ARCH_MEMMOVE
32 void * memmove(void * d, const void * s, size_t count);
33 #define __HAVE_ARCH_MEMCPY
34 extern void * memcpy(void *d, const void *s, size_t count);
35 #define __HAVE_ARCH_MEMSET
36 extern void * memset(void * s,int c,size_t count);
38 #if 0
39 #define __HAVE_ARCH_BCOPY
40 #define __HAVE_ARCH_STRLEN
41 #endif
43 #endif /* KERNEL */
45 #endif /* !(__NIOS_STRING_H__) */