Home
last modified time | relevance | path

Searched refs:TotalPages (Results 1 – 3 of 3) sorted by relevance

/device/linaro/bootloader/edk2/ShellPkg/Library/UefiShellDebug1CommandsLib/
DMemMap.c81 UINT64 TotalPages; in ShellCommandRunMemMap() local
108 TotalPages = 0; in ShellCommandRunMemMap()
179 TotalPages += ((EFI_MEMORY_DESCRIPTOR*)Walker)->NumberOfPages; in ShellCommandRunMemMap()
184 TotalPages += ((EFI_MEMORY_DESCRIPTOR*)Walker)->NumberOfPages; in ShellCommandRunMemMap()
189 TotalPages += ((EFI_MEMORY_DESCRIPTOR*)Walker)->NumberOfPages; in ShellCommandRunMemMap()
194 TotalPages += ((EFI_MEMORY_DESCRIPTOR*)Walker)->NumberOfPages; in ShellCommandRunMemMap()
199 TotalPages += ((EFI_MEMORY_DESCRIPTOR*)Walker)->NumberOfPages; in ShellCommandRunMemMap()
204 TotalPages += ((EFI_MEMORY_DESCRIPTOR*)Walker)->NumberOfPages; in ShellCommandRunMemMap()
209 TotalPages += ((EFI_MEMORY_DESCRIPTOR*)Walker)->NumberOfPages; in ShellCommandRunMemMap()
214 TotalPages += ((EFI_MEMORY_DESCRIPTOR*)Walker)->NumberOfPages; in ShellCommandRunMemMap()
[all …]
/device/linaro/bootloader/edk2/OvmfPkg/PlatformPei/
DMemDetect.c144 UINTN TotalPages; in GetPeiMemoryCap() local
182 TotalPages = Page1GSupport ? Pml4Entries + 1 : in GetPeiMemoryCap()
184 ASSERT (TotalPages <= 0x40201); in GetPeiMemoryCap()
191 return (UINT32)(EFI_PAGES_TO_SIZE (TotalPages) + SIZE_64MB); in GetPeiMemoryCap()
/device/linaro/bootloader/edk2/MdePkg/Library/PeiMemoryAllocationLib/
DMemoryAllocationLib.c191 UINTN TotalPages; in InternalAllocateAlignedPages() local
214 TotalPages = Pages + (Alignment <= EFI_PAGE_SIZE ? 0 : EFI_SIZE_TO_PAGES(Alignment)); in InternalAllocateAlignedPages()
215 Memory = (EFI_PHYSICAL_ADDRESS) (UINTN) InternalAllocatePages (MemoryType, TotalPages); in InternalAllocateAlignedPages()
220 …emory unaligned: Address = 0x%LX, Pages = 0x%X, Type = %d \n", Memory, TotalPages, (UINTN) MemoryT… in InternalAllocateAlignedPages()
248 if ((Memory + EFI_PAGES_TO_SIZE(TotalPages)) == (AlignedMemory + EFI_PAGES_TO_SIZE(Pages))) { in InternalAllocateAlignedPages()
320 … HobLength = (Memory + EFI_PAGES_TO_SIZE(TotalPages)) - (AlignedMemory + EFI_PAGES_TO_SIZE(Pages)); in InternalAllocateAlignedPages()