/device/linaro/bootloader/edk2/DuetPkg/EfiLdr/ |
D | Support.c | 108 ….PhysicalStart + LShiftU64(EfiMemoryDescriptor[Index].NumberOfPages, EFI_PAGE_SHIFT) <= 0x100000) { in FindSpace() 114 ….PhysicalStart + LShiftU64(EfiMemoryDescriptor[Index].NumberOfPages, EFI_PAGE_SHIFT) <= 0x10000000… in FindSpace() 138 …moryMapEntries].PhysicalStart = MaxPhysicalStart + LShiftU64(MaxNoPages - NoPages, EFI_PAGE_SHIFT); in FindSpace() 148 return (UINTN)(MaxPhysicalStart + LShiftU64(MaxNoPages - NoPages, EFI_PAGE_SHIFT)); in FindSpace() 197 BaseAddress = LShiftU64 (RShiftU64 (BaseAddress, EFI_PAGE_SHIFT) + 1, EFI_PAGE_SHIFT); in GenMemoryMap() 202 BaseAddress = LShiftU64 (RShiftU64 (BaseAddress, EFI_PAGE_SHIFT), EFI_PAGE_SHIFT); in GenMemoryMap() 204 Length = LShiftU64 (RShiftU64 (Length, EFI_PAGE_SHIFT) + 1, EFI_PAGE_SHIFT); in GenMemoryMap() 220 RShiftU64 (Length, EFI_PAGE_SHIFT), in GenMemoryMap()
|
D | PeLoader.c | 244 Image->Info.ImageSize = (Image->NoPages << EFI_PAGE_SHIFT) - 1; in EfiLdrPeCoffLoadPeImage() 531 Image->ImageBasePage -= (NoFixupPages << EFI_PAGE_SHIFT); in EfiLdrPeCoffLoadPeRelocate()
|
/device/linaro/bootloader/edk2/BaseTools/Source/C/Include/Common/ |
D | UefiBaseTypes.h | 165 #define EFI_PAGE_SHIFT 12 macro 167 #define EFI_SIZE_TO_PAGES(a) (((a) >> EFI_PAGE_SHIFT) + (((a) & EFI_PAGE_MASK) ? 1 : 0)) 169 #define EFI_PAGES_TO_SIZE(a) ( (a) << EFI_PAGE_SHIFT)
|
/device/linaro/bootloader/edk2/MdePkg/Include/Uefi/ |
D | UefiBaseType.h | 195 #define EFI_PAGE_SHIFT 12 macro 208 #define EFI_SIZE_TO_PAGES(Size) (((Size) >> EFI_PAGE_SHIFT) + (((Size) & EFI_PAGE_MASK) ? 1 : 0)) 221 #define EFI_PAGES_TO_SIZE(Pages) ((Pages) << EFI_PAGE_SHIFT)
|
/device/linaro/bootloader/edk2/EdkCompatibilityPkg/Foundation/Efi/Include/ |
D | EfiTypes.h | 258 #define EFI_PAGE_SHIFT 12 macro 260 #define EFI_SIZE_TO_PAGES(a) (((a) >> EFI_PAGE_SHIFT) + (((a) & EFI_PAGE_MASK) ? 1 : 0)) 262 #define EFI_PAGES_TO_SIZE(a) ( (a) << EFI_PAGE_SHIFT)
|
/device/linaro/bootloader/edk2/StdLib/Include/Ipf/machine/ |
D | efi.h | 36 #define EFI_PAGE_SHIFT 12 macro 37 #define EFI_PAGE_SIZE (1 << EFI_PAGE_SHIFT)
|
/device/linaro/bootloader/edk2/OvmfPkg/XenBusDxe/ |
D | GrantTable.c | 162 Parameters.gpfn = (xen_pfn_t) ((UINTN) GrantTable >> EFI_PAGE_SHIFT) + Index; in XenGrantTableInit() 186 Parameters.gpfn = (xen_pfn_t) ((UINTN) GrantTable >> EFI_PAGE_SHIFT) + Index; in XenGrantTableDeinit()
|
D | XenBusDxe.c | 84 Parameter.gpfn = (UINTN) Dev->SharedInfo >> EFI_PAGE_SHIFT; in XenGetSharedInfoPage()
|
/device/linaro/bootloader/edk2/DuetPkg/DxeIpl/ |
D | HobGeneration.c | 646 …moryAbove1MB.ResourceLength = LShiftU64 (EfiMemoryDescriptor[Index].NumberOfPages, EFI_PAGE_SHIFT); in PrepareHobMemory() 648 …oryAbove1MB.ResourceLength += LShiftU64 (EfiMemoryDescriptor[Index].NumberOfPages, EFI_PAGE_SHIFT); in PrepareHobMemory() 667 …moryAbove4GB.ResourceLength = LShiftU64 (EfiMemoryDescriptor[Index].NumberOfPages, EFI_PAGE_SHIFT); in PrepareHobMemory() 671 …oryAbove4GB.ResourceLength += LShiftU64 (EfiMemoryDescriptor[Index].NumberOfPages, EFI_PAGE_SHIFT); in PrepareHobMemory()
|
/device/linaro/bootloader/edk2/MdeModulePkg/Core/Dxe/Mem/ |
D | Page.c | 551 End = Start + LShiftU64 (NumberOfPages, EFI_PAGE_SHIFT) - 1; in CoreAddMemoryDescriptor() 624 LShiftU64 (gMemoryTypeInformation[Index].NumberOfPages, EFI_PAGE_SHIFT) - 1; in CoreAddMemoryDescriptor() 719 NumberOfBytes = LShiftU64 (NumberOfPages, EFI_PAGE_SHIFT); in CoreConvertPagesEx() 1022 NumberOfBytes = LShiftU64 (NumberOfPages, EFI_PAGE_SHIFT); in CoreFindFreePagesI() 1262 (NumberOfPages > RShiftU64 (MaxAddress, EFI_PAGE_SHIFT))) { in CoreInternalAllocatePages() 1265 NumberOfBytes = LShiftU64 (NumberOfPages, EFI_PAGE_SHIFT); in CoreInternalAllocatePages() 1675 MemoryMap->NumberOfPages = RShiftU64 (Entry->End - Entry->Start + 1, EFI_PAGE_SHIFT); in CoreGetMemoryMap() 1741 …ges = RShiftU64 ((MergeGcdMapEntry.EndAddress - MergeGcdMapEntry.BaseAddress + 1), EFI_PAGE_SHIFT); in CoreGetMemoryMap() 1776 …ges = RShiftU64 ((MergeGcdMapEntry.EndAddress - MergeGcdMapEntry.BaseAddress + 1), EFI_PAGE_SHIFT); in CoreGetMemoryMap()
|
/device/linaro/bootloader/edk2/MdeModulePkg/Core/Dxe/Gcd/ |
D | Gcd.c | 347 return AlignValue (Value, EFI_PAGE_SHIFT, TRUE); in PageAlignAddress() 364 return AlignValue (Value, EFI_PAGE_SHIFT, FALSE); in PageAlignLength() 1396 EFI_PAGE_SHIFT, in CoreAddMemorySpace() 1407 RShiftU64 (PageLength, EFI_PAGE_SHIFT), in CoreAddMemorySpace() 1415 EFI_PAGE_SHIFT, in CoreAddMemorySpace() 1627 CoreUpdateMemoryAttributes(BaseAddress, RShiftU64(Length, EFI_PAGE_SHIFT), Capabilities); in CoreSetMemorySpaceCapabilities() 2025 TotalSize += LShiftU64 (gMemoryTypeInformation[Index].NumberOfPages, EFI_PAGE_SHIFT); in CalculateTotalMemoryBinSizeNeeded() 2283 RShiftU64 (Length, EFI_PAGE_SHIFT), in CoreInitializeMemoryServices() 2496 RShiftU64 (MemoryHob->AllocDescriptor.MemoryLength, EFI_PAGE_SHIFT), in CoreInitializeGcdServices() 2547 RShiftU64 (Length, EFI_PAGE_SHIFT), in CoreInitializeGcdServices() [all …]
|
/device/linaro/bootloader/edk2/MdeModulePkg/Universal/PropertiesTableAttributesDxe/ |
D | PropertiesTableAttributesDxe.c | 42 return LShiftU64 (Pages, EFI_PAGE_SHIFT); in EfiPagesToSize()
|
/device/linaro/bootloader/edk2/OvmfPkg/Library/XenConsoleSerialPortLib/ |
D | XenConsoleSerialPortLib.c | 72 (XenHypercallHvmGetParam (HVM_PARAM_CONSOLE_PFN) << EFI_PAGE_SHIFT); in SerialPortInitialize()
|
/device/linaro/bootloader/edk2/OvmfPkg/PlatformPei/ |
D | Xen.c | 98 (Index << EFI_PAGE_SHIFT) + Index); in XenConnect()
|
/device/linaro/bootloader/edk2/MdeModulePkg/Core/Pei/Memory/ |
D | MemoryServices.c | 191 …ryTop - *FreeMemoryBottom - ALIGN_VALUE (sizeof (EFI_HOB_MEMORY_ALLOCATION), 8)) >> EFI_PAGE_SHIFT; in PeiAllocatePages()
|
/device/linaro/bootloader/edk2/OvmfPkg/VirtioPciDeviceDxe/ |
D | VirtioPciFunctions.c | 193 (UINT32)((UINTN)Ring->Base >> EFI_PAGE_SHIFT)); in VirtioPciSetQueueAddress()
|
/device/linaro/bootloader/edk2/OvmfPkg/Library/VirtioMmioDeviceLib/ |
D | VirtioMmioDeviceFunctions.c | 192 (UINT32)((UINTN)Ring->Base >> EFI_PAGE_SHIFT)); in VirtioMmioSetQueueAddress()
|
/device/linaro/bootloader/edk2/DuetPkg/Library/DuetBdsLib/ |
D | BdsPlatform.c | 195 LShiftU64 (MemoryDescHob.MemDesc[Index].NumberOfPages, EFI_PAGE_SHIFT) in UpdateMemoryMap() 203 LShiftU64 (MemoryDescHob.MemDesc[Index].NumberOfPages, EFI_PAGE_SHIFT) in UpdateMemoryMap() 229 LShiftU64 (MemoryDescHob.MemDesc[Index].NumberOfPages, EFI_PAGE_SHIFT), in UpdateMemoryMap()
|
/device/linaro/bootloader/edk2/EdkCompatibilityPkg/Foundation/Library/RuntimeDxe/EfiRuntimeLib/X64/ |
D | Fvb.c | 121 … + LShiftU64 (MemoryMap->NumberOfPages, EFI_PAGE_SHIFT))) { in IsMemoryRuntime()
|
/device/linaro/bootloader/edk2/EdkCompatibilityPkg/Foundation/Library/RuntimeDxe/EfiRuntimeLib/Ia32/ |
D | Fvb.c | 121 … + LShiftU64 (MemoryMap->NumberOfPages, EFI_PAGE_SHIFT))) { in IsMemoryRuntime()
|
/device/linaro/bootloader/edk2/OvmfPkg/XenPvBlkDxe/ |
D | BlockFront.c | 218 (INTN) SharedRing >> EFI_PAGE_SHIFT, in XenPvBlockFrontInitialization() 481 Data >> EFI_PAGE_SHIFT, IsWrite, in XenPvBlockAsyncIo()
|
/device/linaro/bootloader/edk2/MdeModulePkg/Core/PiSmmCore/ |
D | Page.c | 18 #define TRUNCATE_TO_PAGES(a) ((a) >> EFI_PAGE_SHIFT) 1115 MemoryMap->NumberOfPages = RShiftU64 (Entry->End - Entry->Start + 1, EFI_PAGE_SHIFT); in SmmCoreGetMemoryMap()
|
D | PiSmmCore.h | 1104 #define MAX_POOL_SHIFT (EFI_PAGE_SHIFT - 1)
|
/device/linaro/bootloader/edk2/MdePkg/Library/SmmMemLib/ |
D | SmmMemLib.c | 165 …fer + Length <= MemoryMap->PhysicalStart + LShiftU64 (MemoryMap->NumberOfPages, EFI_PAGE_SHIFT))) { in SmmIsBufferOutsideSmmValid()
|
/device/linaro/bootloader/edk2/IntelFrameworkModulePkg/Csm/BiosThunk/Snp16Dxe/ |
D | BiosSnp16.c | 1286 …SimpleNetworkDevice->UndiLoaderTable, SimpleNetworkDevice->UndiLoaderTablePages << EFI_PAGE_SHIFT); in Undi16SimpleNetworkUnloadUndi() 1296 SimpleNetworkDevice->DestinationDataSegmentPages << EFI_PAGE_SHIFT in Undi16SimpleNetworkUnloadUndi() 1307 SimpleNetworkDevice->DestinationStackSegmentPages << EFI_PAGE_SHIFT in Undi16SimpleNetworkUnloadUndi() 1318 SimpleNetworkDevice->DestinationCodeSegmentPages << EFI_PAGE_SHIFT in Undi16SimpleNetworkUnloadUndi()
|