/device/linaro/bootloader/edk2/DuetPkg/EfiLdr/ |
D | Support.c | 195 if (BaseAddress & EFI_PAGE_MASK) { in GenMemoryMap() 196 Length = Length + (BaseAddress & EFI_PAGE_MASK) - EFI_PAGE_SIZE; in GenMemoryMap() 201 Length = BiosMemoryMap->MemoryMapEntry[Index].Length + (BaseAddress & EFI_PAGE_MASK); in GenMemoryMap() 203 if (Length & EFI_PAGE_MASK) { in GenMemoryMap()
|
/device/linaro/bootloader/edk2/MdeModulePkg/Core/Dxe/Mem/ |
D | Page.c | 176 ASSERT ((Start & EFI_PAGE_MASK) == 0); in CoreAddRange() 543 if ((Start & EFI_PAGE_MASK) != 0) { in CoreAddMemoryDescriptor() 723 ASSERT ((Start & EFI_PAGE_MASK) == 0); in CoreConvertPagesEx() 728 if (NumberOfPages == 0 || ((Start & EFI_PAGE_MASK) != 0) || (Start >= End)) { in CoreConvertPagesEx() 996 if ((MaxAddress < EFI_PAGE_MASK) ||(NumberOfPages == 0)) { in CoreFindFreePagesI() 1000 if ((MaxAddress & EFI_PAGE_MASK) != EFI_PAGE_MASK) { in CoreFindFreePagesI() 1009 MaxAddress -= (EFI_PAGE_MASK + 1); in CoreFindFreePagesI() 1014 MaxAddress &= ~(UINT64)EFI_PAGE_MASK; in CoreFindFreePagesI() 1019 MaxAddress |= EFI_PAGE_MASK; in CoreFindFreePagesI() 1090 if ((Target & EFI_PAGE_MASK) != 0) { in CoreFindFreePagesI() [all …]
|
/device/linaro/bootloader/edk2/BaseTools/Source/C/Include/Common/ |
D | UefiBaseTypes.h | 164 #define EFI_PAGE_MASK 0xFFF macro 167 #define EFI_SIZE_TO_PAGES(a) (((a) >> EFI_PAGE_SHIFT) + (((a) & EFI_PAGE_MASK) ? 1 : 0))
|
/device/linaro/bootloader/edk2/ArmPlatformPkg/ArmJunoPkg/Drivers/ArmJunoDxe/ |
D | ArmJunoDxe.c | 170 …if (((FixedPcdGet32 (PcdHypFvSize) & EFI_PAGE_MASK) == 0) && ((FixedPcdGet32 (PcdHypFvBaseAddress)… in ArmJunoEntryPoint()
|
/device/linaro/bootloader/edk2/MdePkg/Include/Uefi/ |
D | UefiBaseType.h | 194 #define EFI_PAGE_MASK 0xFFF macro 208 #define EFI_SIZE_TO_PAGES(Size) (((Size) >> EFI_PAGE_SHIFT) + (((Size) & EFI_PAGE_MASK) ? 1 : 0))
|
/device/linaro/bootloader/edk2/EdkCompatibilityPkg/Foundation/Efi/Include/ |
D | EfiTypes.h | 257 #define EFI_PAGE_MASK 0xFFF macro 260 #define EFI_SIZE_TO_PAGES(a) (((a) >> EFI_PAGE_SHIFT) + (((a) & EFI_PAGE_MASK) ? 1 : 0))
|
/device/linaro/bootloader/edk2/ArmPlatformPkg/PrePi/AArch64/ |
D | ModuleEntryPoint.S | 73 and x1, x1, ~EFI_PAGE_MASK
|
/device/linaro/bootloader/edk2/MdeModulePkg/Core/PiSmmCore/ |
D | Pool.c | 326 ASSERT (((UINTN)FreePoolHdr & EFI_PAGE_MASK) == 0); in SmmInternalFreePool() 327 ASSERT ((FreePoolHdr->Header.Size & EFI_PAGE_MASK) == 0); in SmmInternalFreePool()
|
D | Page.c | 664 if ((Address & EFI_PAGE_MASK) != 0) { in InternalAllocAddress() 878 if (((Memory & EFI_PAGE_MASK) != 0) || (Memory == 0) || (NumberOfPages == 0)) { in SmmInternalFreePagesEx() 1021 AlignedMemBase = (UINTN)(MemBase + EFI_PAGE_MASK) & ~EFI_PAGE_MASK; in SmmAddMemoryRegion()
|
D | PiSmmIpl.c | 988 ASSERT ((SmramRange->PhysicalSize & EFI_PAGE_MASK) == 0); in ExecuteSmmCoreFromSmram() 1009 ASSERT ((SmramRange->PhysicalSize & EFI_PAGE_MASK) == 0); in ExecuteSmmCoreFromSmram()
|
/device/linaro/bootloader/edk2/ArmPlatformPkg/PrePi/Arm/ |
D | ModuleEntryPoint.S | 82 MOV32 (r9, ~EFI_PAGE_MASK & 0xFFFFFFFF)
|
D | ModuleEntryPoint.asm | 98 mov32 r9, EFI_PAGE_MASK
|
/device/linaro/bootloader/edk2/OvmfPkg/XenPvBlkDxe/ |
D | BlockFront.c | 455 Start = (UINTN) IoData->Buffer & ~EFI_PAGE_MASK; in XenPvBlockAsyncIo() 456 End = ((UINTN) IoData->Buffer + IoData->Size + EFI_PAGE_SIZE - 1) & ~EFI_PAGE_MASK; in XenPvBlockAsyncIo() 475 Request->seg[0].first_sect = (UINT8)(((UINTN) IoData->Buffer & EFI_PAGE_MASK) / 512); in XenPvBlockAsyncIo() 477 (UINT8)((((UINTN) IoData->Buffer + IoData->Size - 1) & EFI_PAGE_MASK) / 512); in XenPvBlockAsyncIo()
|
D | BlockIo.c | 144 if (((UINTN)Buffer & EFI_PAGE_MASK) == 0) { in XenPvBlkDxeBlockIoReadWriteBlocks()
|
/device/linaro/bootloader/edk2/MdeModulePkg/Universal/Variable/RuntimeDxe/ |
D | VariableDxe.c | 394 BaseAddress = VariableStoreBase & (~EFI_PAGE_MASK); in FtwNotificationEvent() 396 Length = (Length + EFI_PAGE_SIZE - 1) & (~EFI_PAGE_MASK); in FtwNotificationEvent()
|
/device/linaro/bootloader/edk2/ArmVirtPkg/PrePi/AArch64/ |
D | ModuleEntryPoint.S | 107 and x1, x1, ~EFI_PAGE_MASK
|
/device/linaro/bootloader/edk2/StdLib/Include/Ipf/machine/ |
D | efi.h | 38 #define EFI_PAGE_MASK (EFI_PAGE_SIZE - 1) macro
|
/device/linaro/bootloader/edk2/ArmVirtPkg/PrePi/Arm/ |
D | ModuleEntryPoint.S | 114 MOV32 (r11, (~EFI_PAGE_MASK) & 0xffffffff)
|
/device/linaro/bootloader/edk2/DuetPkg/DxeIpl/ |
D | HobGeneration.c | 713 ….MemDesc = (EFI_MEMORY_DESCRIPTOR *)((UINTN) gHob->MemoryDescriptor.MemDesc & ~EFI_PAGE_MASK); in PrepareHobMemoryDescriptor() 890 …_PHYSICAL_ADDRESS)(((UINTN)NvStorageTop - NV_STORAGE_FVB_SIZE - NV_FTW_FVB_SIZE) & ~EFI_PAGE_MASK); in PrepareHobNvStorage()
|
/device/linaro/bootloader/edk2/ArmPkg/Drivers/CpuDxe/ |
D | CpuMmuCommon.c | 100 if ((Length & EFI_PAGE_MASK) != 0) { in SetGcdMemorySpaceAttributes()
|
/device/linaro/bootloader/edk2/MdeModulePkg/Core/Dxe/Gcd/ |
D | Gcd.c | 816 if ((BaseAddress & EFI_PAGE_MASK) != 0 || (Length & EFI_PAGE_MASK) != 0) { in CoreConvertSpace() 830 if ((BaseAddress & EFI_PAGE_MASK) != 0 || (Length & EFI_PAGE_MASK) != 0) { in CoreConvertSpace()
|
/device/linaro/bootloader/edk2/DuetPkg/PciRootBridgeNoEnumerationDxe/ |
D | DeviceIo.c | 840 if (((HostAddress & EFI_PAGE_MASK) != 0) || (Pages <= 0)) { in DeviceIoFreeBuffer()
|
/device/linaro/bootloader/edk2/DuetPkg/FSVariable/ |
D | FSVariable.c | 1810 BaseAddress = VariableStoreEntry.Base & (~EFI_PAGE_MASK); in VariableServiceInitialize() 1812 Length = (Length + EFI_PAGE_SIZE - 1) & (~EFI_PAGE_MASK); in VariableServiceInitialize()
|
/device/linaro/bootloader/edk2/OvmfPkg/Sec/ |
D | SecMain.c | 104 ASSERT (((UINTN) *BootFv & EFI_PAGE_MASK) == 0); in FindMainFv()
|
/device/linaro/bootloader/edk2/EdkCompatibilityPkg/Compatibility/DeviceIoOnPciRootBridgeIoThunk/ |
D | DeviceIoOnPciRootBridgeIoThunk.c | 1214 if (((HostAddress & EFI_PAGE_MASK) != 0) || (Pages <= 0)) { in DeviceIoFreeBuffer()
|