xref: /OK3568_Linux_fs/kernel/arch/nios2/include/asm/string.h (revision 4882a59341e53eb6f0b4789bf948001014eff981)
1*4882a593Smuzhiyun /*
2*4882a593Smuzhiyun  * Copyright (C) 2004 Microtronix Datacom Ltd
3*4882a593Smuzhiyun  *
4*4882a593Smuzhiyun  * This file is subject to the terms and conditions of the GNU General Public
5*4882a593Smuzhiyun  * License.  See the file "COPYING" in the main directory of this archive
6*4882a593Smuzhiyun  * for more details.
7*4882a593Smuzhiyun  */
8*4882a593Smuzhiyun 
9*4882a593Smuzhiyun #ifndef _ASM_NIOS2_STRING_H
10*4882a593Smuzhiyun #define _ASM_NIOS2_STRING_H
11*4882a593Smuzhiyun 
12*4882a593Smuzhiyun #ifdef __KERNEL__
13*4882a593Smuzhiyun 
14*4882a593Smuzhiyun #define __HAVE_ARCH_MEMSET
15*4882a593Smuzhiyun #define __HAVE_ARCH_MEMCPY
16*4882a593Smuzhiyun #define __HAVE_ARCH_MEMMOVE
17*4882a593Smuzhiyun 
18*4882a593Smuzhiyun extern void *memset(void *s, int c, size_t count);
19*4882a593Smuzhiyun extern void *memcpy(void *d, const void *s, size_t count);
20*4882a593Smuzhiyun extern void *memmove(void *d, const void *s, size_t count);
21*4882a593Smuzhiyun 
22*4882a593Smuzhiyun #endif /* __KERNEL__ */
23*4882a593Smuzhiyun 
24*4882a593Smuzhiyun #endif /* _ASM_NIOS2_STRING_H */
25