TianoCore EDK2
master
Loading...
Searching...
No Matches
ZeroMemWrapper.c
Go to the documentation of this file.
1
20
#include "
MemLibInternals.h
"
21
36
VOID *
37
EFIAPI
38
ZeroMem
(
39
OUT
VOID *Buffer,
40
IN
UINTN
Length
41
)
42
{
43
if
(Length == 0) {
44
return
Buffer;
45
}
46
47
ASSERT (Buffer !=
NULL
);
48
ASSERT (Length <= (
MAX_ADDRESS
- (
UINTN
)Buffer + 1));
49
return
InternalMemZeroMem
(Buffer, Length);
50
}
UINTN
UINT64 UINTN
Definition:
ProcessorBind.h:112
MAX_ADDRESS
#define MAX_ADDRESS
Definition:
ProcessorBind.h:137
InternalMemZeroMem
VOID *EFIAPI InternalMemZeroMem(OUT VOID *Buffer, IN UINTN Length)
Definition:
MemLibGeneric.c:102
ZeroMem
VOID *EFIAPI ZeroMem(OUT VOID *Buffer, IN UINTN Length)
Definition:
ZeroMemWrapper.c:38
NULL
#define NULL
Definition:
Base.h:319
IN
#define IN
Definition:
Base.h:279
OUT
#define OUT
Definition:
Base.h:284
MemLibInternals.h
MdePkg
Library
UefiMemoryLib
ZeroMemWrapper.c
Generated on Fri Nov 15 2024 18:01:17 for TianoCore EDK2 by
1.9.6