MCPcopy Create free account
hub / github.com/CloverHackyColor/CloverBootloader / PeiCopyMem

Function PeiCopyMem

BaseTools/Source/C/Common/CommonLib.c:60–94  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

58}
59
60VOID
61PeiCopyMem (
62 IN VOID *Destination,
63 IN VOID *Source,
64 IN UINTN Length
65 )
66/*++
67
68Routine Description:
69
70 Copy Length bytes from Source to Destination.
71
72Arguments:
73
74 Destination - Target of copy
75
76 Source - Place to copy from
77
78 Length - Number of bytes to copy
79
80Returns:
81
82 None
83
84--*/
85{
86 CHAR8 *Destination8;
87 CHAR8 *Source8;
88
89 Destination8 = Destination;
90 Source8 = Source;
91 while (Length--) {
92 *(Destination8++) = *(Source8++);
93 }
94}
95
96VOID
97ZeroMem (

Callers 1

CopyMemFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected