Home
last modified time | relevance | path

Searched refs:EFI_PAGE_SHIFT (Results 1 – 25 of 32) sorted by relevance

12

/device/linaro/bootloader/edk2/DuetPkg/EfiLdr/
DSupport.c108 ….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()
DPeLoader.c244 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/
DUefiBaseTypes.h165 #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/
DUefiBaseType.h195 #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/
DEfiTypes.h258 #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/
Defi.h36 #define EFI_PAGE_SHIFT 12 macro
37 #define EFI_PAGE_SIZE (1 << EFI_PAGE_SHIFT)
/device/linaro/bootloader/edk2/OvmfPkg/XenBusDxe/
DGrantTable.c162 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()
DXenBusDxe.c84 Parameter.gpfn = (UINTN) Dev->SharedInfo >> EFI_PAGE_SHIFT; in XenGetSharedInfoPage()
/device/linaro/bootloader/edk2/DuetPkg/DxeIpl/
DHobGeneration.c646 …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/
DPage.c551 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/
DGcd.c347 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/
DPropertiesTableAttributesDxe.c42 return LShiftU64 (Pages, EFI_PAGE_SHIFT); in EfiPagesToSize()
/device/linaro/bootloader/edk2/OvmfPkg/Library/XenConsoleSerialPortLib/
DXenConsoleSerialPortLib.c72 (XenHypercallHvmGetParam (HVM_PARAM_CONSOLE_PFN) << EFI_PAGE_SHIFT); in SerialPortInitialize()
/device/linaro/bootloader/edk2/OvmfPkg/PlatformPei/
DXen.c98 (Index << EFI_PAGE_SHIFT) + Index); in XenConnect()
/device/linaro/bootloader/edk2/MdeModulePkg/Core/Pei/Memory/
DMemoryServices.c191 …ryTop - *FreeMemoryBottom - ALIGN_VALUE (sizeof (EFI_HOB_MEMORY_ALLOCATION), 8)) >> EFI_PAGE_SHIFT; in PeiAllocatePages()
/device/linaro/bootloader/edk2/OvmfPkg/VirtioPciDeviceDxe/
DVirtioPciFunctions.c193 (UINT32)((UINTN)Ring->Base >> EFI_PAGE_SHIFT)); in VirtioPciSetQueueAddress()
/device/linaro/bootloader/edk2/OvmfPkg/Library/VirtioMmioDeviceLib/
DVirtioMmioDeviceFunctions.c192 (UINT32)((UINTN)Ring->Base >> EFI_PAGE_SHIFT)); in VirtioMmioSetQueueAddress()
/device/linaro/bootloader/edk2/DuetPkg/Library/DuetBdsLib/
DBdsPlatform.c195 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/
DFvb.c121 … + LShiftU64 (MemoryMap->NumberOfPages, EFI_PAGE_SHIFT))) { in IsMemoryRuntime()
/device/linaro/bootloader/edk2/EdkCompatibilityPkg/Foundation/Library/RuntimeDxe/EfiRuntimeLib/Ia32/
DFvb.c121 … + LShiftU64 (MemoryMap->NumberOfPages, EFI_PAGE_SHIFT))) { in IsMemoryRuntime()
/device/linaro/bootloader/edk2/OvmfPkg/XenPvBlkDxe/
DBlockFront.c218 (INTN) SharedRing >> EFI_PAGE_SHIFT, in XenPvBlockFrontInitialization()
481 Data >> EFI_PAGE_SHIFT, IsWrite, in XenPvBlockAsyncIo()
/device/linaro/bootloader/edk2/MdeModulePkg/Core/PiSmmCore/
DPage.c18 #define TRUNCATE_TO_PAGES(a) ((a) >> EFI_PAGE_SHIFT)
1115 MemoryMap->NumberOfPages = RShiftU64 (Entry->End - Entry->Start + 1, EFI_PAGE_SHIFT); in SmmCoreGetMemoryMap()
DPiSmmCore.h1104 #define MAX_POOL_SHIFT (EFI_PAGE_SHIFT - 1)
/device/linaro/bootloader/edk2/MdePkg/Library/SmmMemLib/
DSmmMemLib.c165 …fer + Length <= MemoryMap->PhysicalStart + LShiftU64 (MemoryMap->NumberOfPages, EFI_PAGE_SHIFT))) { in SmmIsBufferOutsideSmmValid()
/device/linaro/bootloader/edk2/IntelFrameworkModulePkg/Csm/BiosThunk/Snp16Dxe/
DBiosSnp16.c1286 …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()

12