Path: blob/master/arch/unicore32/include/asm/string.h
10818 views
/*1* linux/arch/unicore32/include/asm/string.h2*3* Code specific to PKUnity SoC and UniCore ISA4*5* Copyright (C) 2001-2010 GUAN Xue-tao6*7* This program is free software; you can redistribute it and/or modify8* it under the terms of the GNU General Public License version 2 as9* published by the Free Software Foundation.10*/11#ifndef __UNICORE_STRING_H__12#define __UNICORE_STRING_H__1314/*15* We don't do inline string functions, since the16* optimised inline asm versions are not small.17*/1819#define __HAVE_ARCH_STRRCHR20extern char *strrchr(const char *s, int c);2122#define __HAVE_ARCH_STRCHR23extern char *strchr(const char *s, int c);2425#define __HAVE_ARCH_MEMCPY26extern void *memcpy(void *, const void *, __kernel_size_t);2728#define __HAVE_ARCH_MEMMOVE29extern void *memmove(void *, const void *, __kernel_size_t);3031#define __HAVE_ARCH_MEMCHR32extern void *memchr(const void *, int, __kernel_size_t);3334#define __HAVE_ARCH_MEMSET35extern void *memset(void *, int, __kernel_size_t);3637#endif383940