1 /*
2 * Simple string functions.
3 *
4 * Copyright (C) 2014 Red Hat Inc.
5 *
6 * Author:
7 * Vivek Goyal <vgoyal@redhat.com>
8 *
9 * This source code is licensed under the GNU General Public License,
10 * Version 2. See the file COPYING for more details.
11 */
12
13 #include <linux/types.h>
14
15 #include "../boot/string.c"
16
memcpy(void * dst,const void * src,size_t len)17 void *memcpy(void *dst, const void *src, size_t len)
18 {
19 return __builtin_memcpy(dst, src, len);
20 }
21
memset(void * dst,int c,size_t len)22 void *memset(void *dst, int c, size_t len)
23 {
24 return __builtin_memset(dst, c, len);
25 }
26