Home
last modified time | relevance | path

Searched refs:EFI_PAGE_MASK (Results 1 – 25 of 30) sorted by relevance

12

/device/linaro/bootloader/edk2/DuetPkg/EfiLdr/
DSupport.c195 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/
DPage.c176 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/
DUefiBaseTypes.h164 #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/
DArmJunoDxe.c170 …if (((FixedPcdGet32 (PcdHypFvSize) & EFI_PAGE_MASK) == 0) && ((FixedPcdGet32 (PcdHypFvBaseAddress)… in ArmJunoEntryPoint()
/device/linaro/bootloader/edk2/MdePkg/Include/Uefi/
DUefiBaseType.h194 #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/
DEfiTypes.h257 #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/
DModuleEntryPoint.S73 and x1, x1, ~EFI_PAGE_MASK
/device/linaro/bootloader/edk2/MdeModulePkg/Core/PiSmmCore/
DPool.c326 ASSERT (((UINTN)FreePoolHdr & EFI_PAGE_MASK) == 0); in SmmInternalFreePool()
327 ASSERT ((FreePoolHdr->Header.Size & EFI_PAGE_MASK) == 0); in SmmInternalFreePool()
DPage.c664 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()
DPiSmmIpl.c988 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/
DModuleEntryPoint.S82 MOV32 (r9, ~EFI_PAGE_MASK & 0xFFFFFFFF)
DModuleEntryPoint.asm98 mov32 r9, EFI_PAGE_MASK
/device/linaro/bootloader/edk2/OvmfPkg/XenPvBlkDxe/
DBlockFront.c455 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()
DBlockIo.c144 if (((UINTN)Buffer & EFI_PAGE_MASK) == 0) { in XenPvBlkDxeBlockIoReadWriteBlocks()
/device/linaro/bootloader/edk2/MdeModulePkg/Universal/Variable/RuntimeDxe/
DVariableDxe.c394 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/
DModuleEntryPoint.S107 and x1, x1, ~EFI_PAGE_MASK
/device/linaro/bootloader/edk2/StdLib/Include/Ipf/machine/
Defi.h38 #define EFI_PAGE_MASK (EFI_PAGE_SIZE - 1) macro
/device/linaro/bootloader/edk2/ArmVirtPkg/PrePi/Arm/
DModuleEntryPoint.S114 MOV32 (r11, (~EFI_PAGE_MASK) & 0xffffffff)
/device/linaro/bootloader/edk2/DuetPkg/DxeIpl/
DHobGeneration.c713 ….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/
DCpuMmuCommon.c100 if ((Length & EFI_PAGE_MASK) != 0) { in SetGcdMemorySpaceAttributes()
/device/linaro/bootloader/edk2/MdeModulePkg/Core/Dxe/Gcd/
DGcd.c816 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/
DDeviceIo.c840 if (((HostAddress & EFI_PAGE_MASK) != 0) || (Pages <= 0)) { in DeviceIoFreeBuffer()
/device/linaro/bootloader/edk2/DuetPkg/FSVariable/
DFSVariable.c1810 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/
DSecMain.c104 ASSERT (((UINTN) *BootFv & EFI_PAGE_MASK) == 0); in FindMainFv()
/device/linaro/bootloader/edk2/EdkCompatibilityPkg/Compatibility/DeviceIoOnPciRootBridgeIoThunk/
DDeviceIoOnPciRootBridgeIoThunk.c1214 if (((HostAddress & EFI_PAGE_MASK) != 0) || (Pages <= 0)) { in DeviceIoFreeBuffer()

12