9ab216023c
Signed-off-by: Stefan Reinauer <stepan@coresystems.de> Acked-by: Stefan Reinauer <stepan@coresystems.de> git-svn-id: svn://svn.coreboot.org/coreboot/trunk@3882 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
12 lines
207 B
C
12 lines
207 B
C
#include <string.h>
|
|
void *memcpy(void *vdest, const void *vsrc, size_t bytes)
|
|
{
|
|
const char *src = vsrc;
|
|
char *dest = vdest;
|
|
int i;
|
|
|
|
for (i = 0; i < (int)bytes; i++)
|
|
dest[i] = src[i];
|
|
|
|
return vdest;
|
|
}
|