repo.or.cz
/
coreboot2.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
mb/google/brya/var/orisa: Update Type C DisplayPort HPD Configuration
[coreboot2.git]
/
src
/
lib
/
memcpy.c
blob
e1fa3c56cf4d616a7f0241206dcf758cd212ecac
1
/* SPDX-License-Identifier: GPL-2.0-only */
2
3
#include <string.h>
4
void
*
memcpy
(
void
*
vdest
,
const void
*
vsrc
,
size_t
bytes
)
5
{
6
const char
*
src
=
vsrc
;
7
char
*
dest
=
vdest
;
8
int
i
;
9
10
for
(
i
=
0
;
i
< (
int
)
bytes
;
i
++)
11
dest
[
i
] =
src
[
i
];
12
13
return
vdest
;
14
}