Home
last modified time | relevance | path

Searched refs:MaxAddress (Results 1 – 4 of 4) sorted by relevance

/device/linaro/bootloader/edk2/ArmPkg/Library/ArmMmuLib/AArch64/
DArmMmuLibCore.c161 IN UINT64 MaxAddress, in LookupAddresstoRootTable() argument
173 if ((1ULL << TopBit) & MaxAddress) { in LookupAddresstoRootTable()
558 UINT64 MaxAddress; in ArmConfigureMmu() local
571 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 …]
/device/linaro/bootloader/edk2/MdeModulePkg/Core/Dxe/Mem/
DPage.c981 IN UINT64 MaxAddress, in CoreFindFreePagesI() argument
996 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 …]
/device/linaro/bootloader/edk2/MdeModulePkg/Core/PiSmmCore/
DPage.c585 IN UINTN MaxAddress in InternalAllocPagesOnOneNode() argument
592 Top = TRUNCATE_TO_PAGES (MaxAddress + 1 - (UINTN)Pages); in InternalAllocPagesOnOneNode()
627 IN UINTN MaxAddress in InternalAllocMaxAddress() argument
636 (UINTN)Pages + EFI_PAGES_TO_SIZE (NumberOfPages) - 1 <= MaxAddress) { in InternalAllocMaxAddress()
637 return InternalAllocPagesOnOneNode (Pages, NumberOfPages, MaxAddress); in InternalAllocMaxAddress()
/device/linaro/bootloader/edk2/MdeModulePkg/Core/Dxe/Gcd/
DGcd.c1035 EFI_PHYSICAL_ADDRESS MaxAddress; in CoreAllocateSpace() local
1138 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()