38 HobTable = Hob.HandoffInformationTable;
86 HobTable = Hob.HandoffInformationTable;
165 ASSERT ((Alignment & (Alignment - 1)) == 0);
177 if (Memory ==
NULL) {
181 if (Alignment == 0) {
182 AlignmentMask = Alignment;
184 AlignmentMask = Alignment - 1;
187 return (VOID *)(
UINTN)(((
UINTN)Memory + AlignmentMask) & ~AlignmentMask);
210 if (AllocationSize > 0x4000) {
216 return (VOID *)(Hob + 1);
241 if (Buffer ==
NULL) {
245 ZeroMem (Buffer, AllocationSize);
VOID EFIAPI BuildMemoryAllocationHob(IN EFI_PHYSICAL_ADDRESS BaseAddress, IN UINT64 Length, IN EFI_MEMORY_TYPE MemoryType)
VOID *EFIAPI GetHobList(VOID)
VOID *EFIAPI ZeroMem(OUT VOID *Buffer, IN UINTN Length)
VOID EFIAPI FreePages(IN VOID *Buffer, IN UINTN Pages)
VOID *EFIAPI AllocatePool(IN UINTN AllocationSize)
VOID *EFIAPI AllocateAlignedPages(IN UINTN Pages, IN UINTN Alignment)
VOID *EFIAPI AllocatePages(IN UINTN Pages)
VOID *EFIAPI AllocateZeroPool(IN UINTN AllocationSize)
VOID *EFIAPI PayloadAllocatePages(IN UINTN Pages, IN EFI_MEMORY_TYPE MemoryType)
VOID * CreateHob(IN UINT16 HobType, IN UINT16 HobLenght)
UINT64 EFI_PHYSICAL_ADDRESS
#define EFI_SIZE_TO_PAGES(Size)
EFI_PHYSICAL_ADDRESS EfiFreeMemoryBottom
EFI_PHYSICAL_ADDRESS EfiFreeMemoryTop