TianoCore EDK2 master
Loading...
Searching...
No Matches
BaseMemoryLib.h
Go to the documentation of this file.
1
13#ifndef __BASE_MEMORY_LIB__
14#define __BASE_MEMORY_LIB__
15
33VOID *
34EFIAPI
35CopyMem (
36 OUT VOID *DestinationBuffer,
37 IN CONST VOID *SourceBuffer,
38 IN UINTN Length
39 );
40
55VOID *
56EFIAPI
57SetMem (
58 OUT VOID *Buffer,
59 IN UINTN Length,
60 IN UINT8 Value
61 );
62
82VOID *
83EFIAPI
85 OUT VOID *Buffer,
86 IN UINTN Length,
87 IN UINT16 Value
88 );
89
109VOID *
110EFIAPI
111SetMem32 (
112 OUT VOID *Buffer,
113 IN UINTN Length,
114 IN UINT32 Value
115 );
116
136VOID *
137EFIAPI
138SetMem64 (
139 OUT VOID *Buffer,
140 IN UINTN Length,
141 IN UINT64 Value
142 );
143
163VOID *
164EFIAPI
165SetMemN (
166 OUT VOID *Buffer,
167 IN UINTN Length,
168 IN UINTN Value
169 );
170
185VOID *
186EFIAPI
187ZeroMem (
188 OUT VOID *Buffer,
189 IN UINTN Length
190 );
191
214INTN
215EFIAPI
217 IN CONST VOID *DestinationBuffer,
218 IN CONST VOID *SourceBuffer,
219 IN UINTN Length
220 );
221
241VOID *
242EFIAPI
243ScanMem8 (
244 IN CONST VOID *Buffer,
245 IN UINTN Length,
246 IN UINT8 Value
247 );
248
270VOID *
271EFIAPI
272ScanMem16 (
273 IN CONST VOID *Buffer,
274 IN UINTN Length,
275 IN UINT16 Value
276 );
277
299VOID *
300EFIAPI
301ScanMem32 (
302 IN CONST VOID *Buffer,
303 IN UINTN Length,
304 IN UINT32 Value
305 );
306
328VOID *
329EFIAPI
330ScanMem64 (
331 IN CONST VOID *Buffer,
332 IN UINTN Length,
333 IN UINT64 Value
334 );
335
357VOID *
358EFIAPI
359ScanMemN (
360 IN CONST VOID *Buffer,
361 IN UINTN Length,
362 IN UINTN Value
363 );
364
380GUID *
381EFIAPI
382CopyGuid (
383 OUT GUID *DestinationGuid,
384 IN CONST GUID *SourceGuid
385 );
386
403BOOLEAN
404EFIAPI
406 IN CONST GUID *Guid1,
407 IN CONST GUID *Guid2
408 );
409
432VOID *
433EFIAPI
434ScanGuid (
435 IN CONST VOID *Buffer,
436 IN UINTN Length,
437 IN CONST GUID *Guid
438 );
439
454BOOLEAN
455EFIAPI
457 IN CONST GUID *Guid
458 );
459
476BOOLEAN
477EFIAPI
479 IN CONST VOID *Buffer,
480 IN UINTN Length
481 );
482
483#endif
UINT64 UINTN
INT64 INTN
VOID *EFIAPI ScanMemN(IN CONST VOID *Buffer, IN UINTN Length, IN UINTN Value)
VOID *EFIAPI ScanGuid(IN CONST VOID *Buffer, IN UINTN Length, IN CONST GUID *Guid)
Definition: MemLibGuid.c:115
VOID *EFIAPI ScanMem16(IN CONST VOID *Buffer, IN UINTN Length, IN UINT16 Value)
VOID *EFIAPI SetMem64(OUT VOID *Buffer, IN UINTN Length, IN UINT64 Value)
VOID *EFIAPI SetMem16(OUT VOID *Buffer, IN UINTN Length, IN UINT16 Value)
INTN EFIAPI CompareMem(IN CONST VOID *DestinationBuffer, IN CONST VOID *SourceBuffer, IN UINTN Length)
VOID *EFIAPI CopyMem(OUT VOID *DestinationBuffer, IN CONST VOID *SourceBuffer, IN UINTN Length)
VOID *EFIAPI SetMem(OUT VOID *Buffer, IN UINTN Length, IN UINT8 Value)
Definition: SetMemWrapper.c:38
VOID *EFIAPI SetMemN(OUT VOID *Buffer, IN UINTN Length, IN UINTN Value)
BOOLEAN EFIAPI CompareGuid(IN CONST GUID *Guid1, IN CONST GUID *Guid2)
Definition: MemLibGuid.c:73
VOID *EFIAPI ScanMem64(IN CONST VOID *Buffer, IN UINTN Length, IN UINT64 Value)
GUID *EFIAPI CopyGuid(OUT GUID *DestinationGuid, IN CONST GUID *SourceGuid)
Definition: MemLibGuid.c:39
VOID *EFIAPI SetMem32(OUT VOID *Buffer, IN UINTN Length, IN UINT32 Value)
VOID *EFIAPI ZeroMem(OUT VOID *Buffer, IN UINTN Length)
VOID *EFIAPI ScanMem32(IN CONST VOID *Buffer, IN UINTN Length, IN UINT32 Value)
BOOLEAN EFIAPI IsZeroGuid(IN CONST GUID *Guid)
Definition: MemLibGuid.c:156
VOID *EFIAPI ScanMem8(IN CONST VOID *Buffer, IN UINTN Length, IN UINT8 Value)
BOOLEAN EFIAPI IsZeroBuffer(IN CONST VOID *Buffer, IN UINTN Length)
#define CONST
Definition: Base.h:259
#define IN
Definition: Base.h:279
#define OUT
Definition: Base.h:284
Definition: Base.h:213