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.c82 UINT64 TotalPages; in ShellCommandRunMemMap() local
111 TotalPages = 0; in ShellCommandRunMemMap()
183 TotalPages += ((EFI_MEMORY_DESCRIPTOR*)Walker)->NumberOfPages; in ShellCommandRunMemMap()
188 TotalPages += ((EFI_MEMORY_DESCRIPTOR*)Walker)->NumberOfPages; in ShellCommandRunMemMap()
193 TotalPages += ((EFI_MEMORY_DESCRIPTOR*)Walker)->NumberOfPages; in ShellCommandRunMemMap()
198 TotalPages += ((EFI_MEMORY_DESCRIPTOR*)Walker)->NumberOfPages; in ShellCommandRunMemMap()
203 TotalPages += ((EFI_MEMORY_DESCRIPTOR*)Walker)->NumberOfPages; in ShellCommandRunMemMap()
208 TotalPages += ((EFI_MEMORY_DESCRIPTOR*)Walker)->NumberOfPages; in ShellCommandRunMemMap()
213 TotalPages += ((EFI_MEMORY_DESCRIPTOR*)Walker)->NumberOfPages; in ShellCommandRunMemMap()
218 TotalPages += ((EFI_MEMORY_DESCRIPTOR*)Walker)->NumberOfPages; in ShellCommandRunMemMap()
[all …]
/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()
/device/linaro/bootloader/edk2/OvmfPkg/PlatformPei/
DMemDetect.c278 UINTN TotalPages; in GetPeiMemoryCap() local
316 TotalPages = Page1GSupport ? Pml4Entries + 1 : in GetPeiMemoryCap()
318 ASSERT (TotalPages <= 0x40201); in GetPeiMemoryCap()
325 return (UINT32)(EFI_PAGES_TO_SIZE (TotalPages) + SIZE_64MB); in GetPeiMemoryCap()