]> git.ipfire.org Git - people/ms/u-boot.git/blame - arch/x86/include/asm/string.h
x86: Rename i386 to x86
[people/ms/u-boot.git] / arch / x86 / include / asm / string.h
CommitLineData
2262cfee
WD
1#ifndef __ASM_I386_STRING_H
2#define __ASM_I386_STRING_H
3
4/*
5 * We don't do inline string functions, since the
6 * optimised inline asm versions are not small.
7 */
3ef96ded
GR
8#undef __HAVE_ARCH_STRNCPY
9extern char *strncpy(char *__dest, __const__ char *__src, __kernel_size_t __n);
2262cfee 10
b2184c31 11#undef __HAVE_ARCH_STRRCHR
2262cfee
WD
12extern char * strrchr(const char * s, int c);
13
b2184c31 14#undef __HAVE_ARCH_STRCHR
2262cfee
WD
15extern char * strchr(const char * s, int c);
16
b2184c31 17#undef __HAVE_ARCH_MEMCPY
2262cfee
WD
18extern void * memcpy(void *, const void *, __kernel_size_t);
19
b2184c31 20#undef __HAVE_ARCH_MEMMOVE
2262cfee
WD
21extern void * memmove(void *, const void *, __kernel_size_t);
22
b2184c31 23#undef __HAVE_ARCH_MEMCHR
2262cfee
WD
24extern void * memchr(const void *, int, __kernel_size_t);
25
b2184c31 26#undef __HAVE_ARCH_MEMSET
2262cfee
WD
27extern void * memset(void *, int, __kernel_size_t);
28
b2184c31 29#undef __HAVE_ARCH_MEMZERO
2262cfee
WD
30extern void memzero(void *ptr, __kernel_size_t n);
31
32#endif