162306a36Sopenharmony_ci/* 262306a36Sopenharmony_ci * Copyright (C) 2004 Microtronix Datacom Ltd 362306a36Sopenharmony_ci * 462306a36Sopenharmony_ci * This file is subject to the terms and conditions of the GNU General Public 562306a36Sopenharmony_ci * License. See the file "COPYING" in the main directory of this archive 662306a36Sopenharmony_ci * for more details. 762306a36Sopenharmony_ci */ 862306a36Sopenharmony_ci 962306a36Sopenharmony_ci#ifndef _ASM_NIOS2_STRING_H 1062306a36Sopenharmony_ci#define _ASM_NIOS2_STRING_H 1162306a36Sopenharmony_ci 1262306a36Sopenharmony_ci#ifdef __KERNEL__ 1362306a36Sopenharmony_ci 1462306a36Sopenharmony_ci#define __HAVE_ARCH_MEMSET 1562306a36Sopenharmony_ci#define __HAVE_ARCH_MEMCPY 1662306a36Sopenharmony_ci#define __HAVE_ARCH_MEMMOVE 1762306a36Sopenharmony_ci 1862306a36Sopenharmony_ciextern void *memset(void *s, int c, size_t count); 1962306a36Sopenharmony_ciextern void *memcpy(void *d, const void *s, size_t count); 2062306a36Sopenharmony_ciextern void *memmove(void *d, const void *s, size_t count); 2162306a36Sopenharmony_ci 2262306a36Sopenharmony_ci#endif /* __KERNEL__ */ 2362306a36Sopenharmony_ci 2462306a36Sopenharmony_ci#endif /* _ASM_NIOS2_STRING_H */ 25