TianoCore EDK2 master
Loading...
Searching...
No Matches
SetMemWrapper.c
Go to the documentation of this file.
1
20#include "MemLibInternals.h"
21
36VOID *
37EFIAPI
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}
UINT64 UINTN
#define MAX_ADDRESS
VOID *EFIAPI InternalMemSetMem(OUT VOID *Buffer, IN UINTN Length, IN UINT8 Value)
Definition: SetMem.c:29
VOID *EFIAPI SetMem(OUT VOID *Buffer, IN UINTN Length, IN UINT8 Value)
Definition: SetMemWrapper.c:38
#define IN
Definition: Base.h:279
#define OUT
Definition: Base.h:284