TianoCore EDK2 master
Loading...
Searching...
No Matches
MemLib.c
Go to the documentation of this file.
1
9#include "MemLibInternals.h"
10
23VOID *
24EFIAPI
26 OUT VOID *Destination,
27 IN CONST VOID *Source,
28 IN UINTN Length
29 )
30{
31 gBS->CopyMem (Destination, (VOID *)Source, Length);
32 return Destination;
33}
34
47VOID *
48EFIAPI
50 OUT VOID *Buffer,
51 IN UINTN Size,
52 IN UINT8 Value
53 )
54{
55 gBS->SetMem (Buffer, Size, Value);
56 return Buffer;
57}
UINT64 UINTN
#define CONST
Definition: Base.h:259
#define IN
Definition: Base.h:279
#define OUT
Definition: Base.h:284
VOID *EFIAPI InternalMemCopyMem(OUT VOID *Destination, IN CONST VOID *Source, IN UINTN Length)
Definition: MemLib.c:25
VOID *EFIAPI InternalMemSetMem(OUT VOID *Buffer, IN UINTN Size, IN UINT8 Value)
Definition: MemLib.c:53
EFI_BOOT_SERVICES * gBS