TianoCore EDK2 master
MemoryAllocationLib.h
Go to the documentation of this file.
1
14#ifndef __MEMORY_ALLOCATION_LIB_H__
15#define __MEMORY_ALLOCATION_LIB_H__
16
30VOID *
31EFIAPI
33 IN UINTN Pages
34 );
35
49VOID *
50EFIAPI
52 IN UINTN Pages
53 );
54
68VOID *
69EFIAPI
71 IN UINTN Pages
72 );
73
91VOID
92EFIAPI
94 IN VOID *Buffer,
95 IN UINTN Pages
96 );
97
116VOID *
117EFIAPI
119 IN UINTN Pages,
120 IN UINTN Alignment
121 );
122
141VOID *
142EFIAPI
144 IN UINTN Pages,
145 IN UINTN Alignment
146 );
147
166VOID *
167EFIAPI
169 IN UINTN Pages,
170 IN UINTN Alignment
171 );
172
190VOID
191EFIAPI
193 IN VOID *Buffer,
194 IN UINTN Pages
195 );
196
209VOID *
210EFIAPI
212 IN UINTN AllocationSize
213 );
214
227VOID *
228EFIAPI
230 IN UINTN AllocationSize
231 );
232
245VOID *
246EFIAPI
248 IN UINTN AllocationSize
249 );
250
264VOID *
265EFIAPI
267 IN UINTN AllocationSize
268 );
269
283VOID *
284EFIAPI
286 IN UINTN AllocationSize
287 );
288
302VOID *
303EFIAPI
305 IN UINTN AllocationSize
306 );
307
325VOID *
326EFIAPI
328 IN UINTN AllocationSize,
329 IN CONST VOID *Buffer
330 );
331
349VOID *
350EFIAPI
352 IN UINTN AllocationSize,
353 IN CONST VOID *Buffer
354 );
355
373VOID *
374EFIAPI
376 IN UINTN AllocationSize,
377 IN CONST VOID *Buffer
378 );
379
401VOID *
402EFIAPI
404 IN UINTN OldSize,
405 IN UINTN NewSize,
406 IN VOID *OldBuffer OPTIONAL
407 );
408
430VOID *
431EFIAPI
433 IN UINTN OldSize,
434 IN UINTN NewSize,
435 IN VOID *OldBuffer OPTIONAL
436 );
437
459VOID *
460EFIAPI
462 IN UINTN OldSize,
463 IN UINTN NewSize,
464 IN VOID *OldBuffer OPTIONAL
465 );
466
481VOID
482EFIAPI
483FreePool (
484 IN VOID *Buffer
485 );
486
487#endif
UINT64 UINTN
#define CONST
Definition: Base.h:259
#define IN
Definition: Base.h:279
VOID *EFIAPI AllocateReservedZeroPool(IN UINTN AllocationSize)
VOID EFIAPI FreePages(IN VOID *Buffer, IN UINTN Pages)
VOID *EFIAPI AllocateRuntimePool(IN UINTN AllocationSize)
VOID *EFIAPI AllocatePool(IN UINTN AllocationSize)
VOID *EFIAPI AllocateAlignedPages(IN UINTN Pages, IN UINTN Alignment)
VOID *EFIAPI AllocatePages(IN UINTN Pages)
VOID *EFIAPI ReallocateRuntimePool(IN UINTN OldSize, IN UINTN NewSize, IN VOID *OldBuffer OPTIONAL)
VOID *EFIAPI ReallocatePool(IN UINTN OldSize, IN UINTN NewSize, IN VOID *OldBuffer OPTIONAL)
VOID *EFIAPI AllocateAlignedReservedPages(IN UINTN Pages, IN UINTN Alignment)
VOID *EFIAPI AllocateZeroPool(IN UINTN AllocationSize)
VOID EFIAPI FreePool(IN VOID *Buffer)
VOID *EFIAPI AllocateRuntimeCopyPool(IN UINTN AllocationSize, IN CONST VOID *Buffer)
VOID *EFIAPI ReallocateReservedPool(IN UINTN OldSize, IN UINTN NewSize, IN VOID *OldBuffer OPTIONAL)
VOID *EFIAPI AllocateReservedPool(IN UINTN AllocationSize)
VOID EFIAPI FreeAlignedPages(IN VOID *Buffer, IN UINTN Pages)
VOID *EFIAPI AllocateAlignedRuntimePages(IN UINTN Pages, IN UINTN Alignment)
VOID *EFIAPI AllocateReservedPages(IN UINTN Pages)
VOID *EFIAPI AllocateRuntimePages(IN UINTN Pages)
VOID *EFIAPI AllocateCopyPool(IN UINTN AllocationSize, IN CONST VOID *Buffer)
VOID *EFIAPI AllocateRuntimeZeroPool(IN UINTN AllocationSize)
VOID *EFIAPI AllocateReservedCopyPool(IN UINTN AllocationSize, IN CONST VOID *Buffer)