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