Home
last modified time | relevance | path

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

/device/linaro/bootloader/edk2/ArmPlatformPkg/MemoryInitPei/
DMemoryInitPeim.c99 UINT64 SystemMemoryTop; in InitializeMemory() local
119 SystemMemoryTop = SystemMemoryBase + PcdGet64 (PcdSystemMemorySize); in InitializeMemory()
120 if (SystemMemoryTop - 1 > MAX_ADDRESS) { in InitializeMemory()
121 SystemMemoryTop = (UINT64)MAX_ADDRESS + 1; in InitializeMemory()
131 if ((FdBase >= SystemMemoryBase) && (FdTop <= SystemMemoryTop)) { in InitializeMemory()
134 if (SystemMemoryTop - FdTop >= FixedPcdGet32 (PcdSystemMemoryUefiRegionSize)) { in InitializeMemory()
135 UefiMemoryBase = SystemMemoryTop - FixedPcdGet32 (PcdSystemMemoryUefiRegionSize); in InitializeMemory()
144 ASSERT ((FdBase < SystemMemoryBase) || (FdBase >= SystemMemoryTop)); in InitializeMemory()
145 ASSERT ((FdTop <= SystemMemoryBase) || (FdTop > SystemMemoryTop)); in InitializeMemory()
147 UefiMemoryBase = SystemMemoryTop - FixedPcdGet32 (PcdSystemMemoryUefiRegionSize); in InitializeMemory()
DMemoryInitPeiLib.c76 EFI_PHYSICAL_ADDRESS SystemMemoryTop; in MemoryPeim() local
128SystemMemoryTop = (EFI_PHYSICAL_ADDRESS)PcdGet64 (PcdSystemMemoryBase) + (EFI_PHYSICAL_ADDRESS)Pcd… in MemoryPeim()
133 …if ((PcdGet64 (PcdFdBaseAddress) >= PcdGet64 (PcdSystemMemoryBase)) && (FdTop <= SystemMemoryTop))… in MemoryPeim()
148 if (SystemMemoryTop == FdTop) { in MemoryPeim()
/device/linaro/bootloader/edk2/ArmVirtPkg/Library/ArmVirtMemoryInitPeiLib/
DArmVirtMemoryInitPeiLib.c60 UINT64 SystemMemoryTop; in MemoryPeim() local
75 SystemMemoryTop = PcdGet64 (PcdSystemMemoryBase) + in MemoryPeim()
78 if (SystemMemoryTop - 1 > MAX_ADDRESS) { in MemoryPeim()
89 SystemMemoryTop - MAX_ADDRESS - 1 in MemoryPeim()
/device/linaro/bootloader/OpenPlatformPkg/Platforms/Hisilicon/Binary/D02/MemoryInitPei/
DMemoryInitPeiLib.c80 EFI_PHYSICAL_ADDRESS SystemMemoryTop; in MemoryPeim() local
131SystemMemoryTop = (EFI_PHYSICAL_ADDRESS)PcdGet64 (PcdSystemMemoryBase) + (EFI_PHYSICAL_ADDRESS)Pcd… in MemoryPeim()
136 …if ((PcdGet64 (PcdFdBaseAddress) >= PcdGet64 (PcdSystemMemoryBase)) && (FdTop <= SystemMemoryTop))… in MemoryPeim()
151 if (SystemMemoryTop == FdTop) { in MemoryPeim()