Searched refs:MaxAddress (Results 1 – 4 of 4) sorted by relevance
161 IN UINT64 MaxAddress, in LookupAddresstoRootTable() argument173 if ((1ULL << TopBit) & MaxAddress) { in LookupAddresstoRootTable()558 UINT64 MaxAddress; in ArmConfigureMmu() local571 MaxAddress = (1UL << PcdGet8 (PcdPrePiCpuMemorySize)) - 1; in ArmConfigureMmu()574 LookupAddresstoRootTable (MaxAddress, &T0SZ, &RootTableEntryCount); in ArmConfigureMmu()586 if (MaxAddress < SIZE_4GB) { in ArmConfigureMmu()588 } else if (MaxAddress < SIZE_64GB) { in ArmConfigureMmu()590 } else if (MaxAddress < SIZE_1TB) { in ArmConfigureMmu()592 } else if (MaxAddress < SIZE_4TB) { in ArmConfigureMmu()594 } else if (MaxAddress < SIZE_16TB) { in ArmConfigureMmu()[all …]
981 IN UINT64 MaxAddress, in CoreFindFreePagesI() argument996 if ((MaxAddress < EFI_PAGE_MASK) ||(NumberOfPages == 0)) { in CoreFindFreePagesI()1000 if ((MaxAddress & EFI_PAGE_MASK) != EFI_PAGE_MASK) { in CoreFindFreePagesI()1009 MaxAddress -= (EFI_PAGE_MASK + 1); in CoreFindFreePagesI()1014 MaxAddress &= ~(UINT64)EFI_PAGE_MASK; in CoreFindFreePagesI()1019 MaxAddress |= EFI_PAGE_MASK; in CoreFindFreePagesI()1041 if ((DescStart >= MaxAddress) || (DescEnd < MinAddress)) { in CoreFindFreePagesI()1048 if (DescEnd >= MaxAddress) { in CoreFindFreePagesI()1049 DescEnd = MaxAddress; in CoreFindFreePagesI()1113 IN UINT64 MaxAddress, in FindFreePages() argument[all …]
585 IN UINTN MaxAddress in InternalAllocPagesOnOneNode() argument592 Top = TRUNCATE_TO_PAGES (MaxAddress + 1 - (UINTN)Pages); in InternalAllocPagesOnOneNode()627 IN UINTN MaxAddress in InternalAllocMaxAddress() argument636 (UINTN)Pages + EFI_PAGES_TO_SIZE (NumberOfPages) - 1 <= MaxAddress) { in InternalAllocMaxAddress()637 return InternalAllocPagesOnOneNode (Pages, NumberOfPages, MaxAddress); in InternalAllocMaxAddress()
1035 EFI_PHYSICAL_ADDRESS MaxAddress; in CoreAllocateSpace() local1138 MaxAddress = *BaseAddress; in CoreAllocateSpace()1140 MaxAddress = Entry->EndAddress; in CoreAllocateSpace()1169 if ((Entry->BaseAddress + Length) > MaxAddress) { in CoreAllocateSpace()1176 if (Entry->EndAddress > MaxAddress) { in CoreAllocateSpace()1177 *BaseAddress = MaxAddress; in CoreAllocateSpace()1184 if ((*BaseAddress + Length - 1) > MaxAddress) { in CoreAllocateSpace()