Home
last modified time | relevance | path

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

/device/linaro/bootloader/edk2/MdeModulePkg/Universal/CapsuleRuntimeDxe/X64/
DSaveLongModeContext.c116 UINTN TotalPagesNum; in PrepareContextForCapsulePei() local
158 TotalPagesNum = (NumberOfPdpEntriesNeeded + 1) * NumberOfPml4EntriesNeeded + 1; in PrepareContextForCapsulePei()
160 TotalPagesNum = NumberOfPml4EntriesNeeded + 1; in PrepareContextForCapsulePei()
162 TotalPagesNum += ExtraPageTablePages; in PrepareContextForCapsulePei()
163 DEBUG ((EFI_D_ERROR, "CapsuleRuntimeDxe X64 TotalPagesNum - 0x%x pages\n", TotalPagesNum)); in PrepareContextForCapsulePei()
165 …s = (EFI_PHYSICAL_ADDRESS)(UINTN)AllocateReservedMemoryBelow4G (EFI_PAGES_TO_SIZE (TotalPagesNum)); in PrepareContextForCapsulePei()
/device/linaro/bootloader/edk2/MdeModulePkg/Core/DxeIplPeim/X64/
DVirtualMemory.c169 UINTN TotalPagesNum; in CreateIdentityMappingPageTables() local
225 TotalPagesNum = (NumberOfPdpEntriesNeeded + 1) * NumberOfPml4EntriesNeeded + 1; in CreateIdentityMappingPageTables()
227 TotalPagesNum = NumberOfPml4EntriesNeeded + 1; in CreateIdentityMappingPageTables()
229 BigPageAddress = (UINTN) AllocatePages (TotalPagesNum); in CreateIdentityMappingPageTables()
/device/linaro/bootloader/edk2/MdeModulePkg/Core/DxeIplPeim/Ia32/
DDxeLoadFunc.c83 UINTN TotalPagesNum; in Create4GPageTablesIa32Pae() local
93 TotalPagesNum = NumberOfPdpEntriesNeeded + 1; in Create4GPageTablesIa32Pae()
94 PageAddress = (UINTN) AllocatePages (TotalPagesNum); in Create4GPageTablesIa32Pae()
/device/linaro/bootloader/edk2/MdeModulePkg/Universal/CapsulePei/
DUefiCapsule.c88 UINTN TotalPagesNum; in CalculatePageTableSize() local
112 TotalPagesNum = (NumberOfPdpEntriesNeeded + 1) * NumberOfPml4EntriesNeeded + 1; in CalculatePageTableSize()
114 TotalPagesNum = NumberOfPml4EntriesNeeded + 1; in CalculatePageTableSize()
116 TotalPagesNum += ExtraPageTablePages; in CalculatePageTableSize()
118 return EFI_PAGES_TO_SIZE (TotalPagesNum); in CalculatePageTableSize()