162306a36Sopenharmony_ci/* SPDX-License-Identifier: GPL-2.0 */
262306a36Sopenharmony_ci/*
362306a36Sopenharmony_ci * Copyright (C) 2006 Atmark Techno, Inc.
462306a36Sopenharmony_ci */
562306a36Sopenharmony_ci
662306a36Sopenharmony_ci#ifndef _ASM_MICROBLAZE_STRING_H
762306a36Sopenharmony_ci#define _ASM_MICROBLAZE_STRING_H
862306a36Sopenharmony_ci
962306a36Sopenharmony_ci#ifdef __KERNEL__
1062306a36Sopenharmony_ci
1162306a36Sopenharmony_ci#ifdef CONFIG_OPT_LIB_FUNCTION
1262306a36Sopenharmony_ci#define __HAVE_ARCH_MEMSET
1362306a36Sopenharmony_ci#define __HAVE_ARCH_MEMCPY
1462306a36Sopenharmony_ci#define __HAVE_ARCH_MEMMOVE
1562306a36Sopenharmony_ci
1662306a36Sopenharmony_ciextern void *memset(void *, int, __kernel_size_t);
1762306a36Sopenharmony_ciextern void *memcpy(void *, const void *, __kernel_size_t);
1862306a36Sopenharmony_ciextern void *memmove(void *, const void *, __kernel_size_t);
1962306a36Sopenharmony_ci#endif
2062306a36Sopenharmony_ci
2162306a36Sopenharmony_ci#endif /* __KERNEL__ */
2262306a36Sopenharmony_ci
2362306a36Sopenharmony_ci#endif /* _ASM_MICROBLAZE_STRING_H */
24