18c2ecf20Sopenharmony_ci/* SPDX-License-Identifier: GPL-2.0 */ 28c2ecf20Sopenharmony_ci#ifndef _H8300_STRING_H_ 38c2ecf20Sopenharmony_ci#define _H8300_STRING_H_ 48c2ecf20Sopenharmony_ci 58c2ecf20Sopenharmony_ci#ifdef __KERNEL__ /* only set these up for kernel code */ 68c2ecf20Sopenharmony_ci 78c2ecf20Sopenharmony_ci#include <asm/setup.h> 88c2ecf20Sopenharmony_ci#include <asm/page.h> 98c2ecf20Sopenharmony_ci 108c2ecf20Sopenharmony_ci#define __HAVE_ARCH_MEMSET 118c2ecf20Sopenharmony_ciextern void *memset(void *s, int c, size_t count); 128c2ecf20Sopenharmony_ci 138c2ecf20Sopenharmony_ci#define __HAVE_ARCH_MEMCPY 148c2ecf20Sopenharmony_ciextern void *memcpy(void *d, const void *s, size_t count); 158c2ecf20Sopenharmony_ci 168c2ecf20Sopenharmony_ci#endif /* KERNEL */ 178c2ecf20Sopenharmony_ci 188c2ecf20Sopenharmony_ci#endif 19