Home
last modified time | relevance | path

Searched refs:ResourceLength (Results 1 – 25 of 50) sorted by relevance

12

/device/linaro/bootloader/OpenPlatformPkg/Platforms/AMD/Styx/Drivers/FdtDxe/
DLinuxLoaderHelper.c100 NewResource->ResourceLength = ResHob->ResourceLength; in InsertSystemMemoryResources()
113 …PhysicalStart) && (ResHob->PhysicalStart < (Resource->PhysicalStart + Resource->ResourceLength)))); in InsertSystemMemoryResources()
114 ASSERT (!((ResHob->PhysicalStart + ResHob->ResourceLength - 1 >= Resource->PhysicalStart) && in InsertSystemMemoryResources()
115 …((ResHob->PhysicalStart + ResHob->ResourceLength - 1) < (Resource->PhysicalStart + Resource->Resou… in InsertSystemMemoryResources()
118 if (ResHob->PhysicalStart == Resource->PhysicalStart + Resource->ResourceLength) { in InsertSystemMemoryResources()
119 Resource->ResourceLength = Resource->ResourceLength + ResHob->ResourceLength; in InsertSystemMemoryResources()
126 else if (ResHob->PhysicalStart + ResHob->ResourceLength == Resource->PhysicalStart) { in InsertSystemMemoryResources()
128 Resource->ResourceLength = Resource->ResourceLength + ResHob->ResourceLength; in InsertSystemMemoryResources()
149 …alStart) && (NewResource->PhysicalStart < (Resource->PhysicalStart + Resource->ResourceLength))) || in InsertSystemMemoryResources()
150ResourceLength) >= Resource->PhysicalStart) && ((NewResource->PhysicalStart + NewResource->Resourc… in InsertSystemMemoryResources()
[all …]
DLinuxLoader.h70 UINT64 ResourceLength; member
/device/linaro/bootloader/edk2/ArmPlatformPkg/MemoryInitPei/
DMemoryInitPeiLib.c73 UINT64 ResourceLength; in MemoryPeim() local
106 …(NextHob.ResourceDescriptor->PhysicalStart + NextHob.ResourceDescriptor->ResourceLength <= PcdGet6… in MemoryPeim()
141 … (FdTop <= NextHob.ResourceDescriptor->PhysicalStart + NextHob.ResourceDescriptor->ResourceLength)) in MemoryPeim()
144 ResourceLength = NextHob.ResourceDescriptor->ResourceLength; in MemoryPeim()
145 ResourceTop = NextHob.ResourceDescriptor->PhysicalStart + ResourceLength; in MemoryPeim()
159 NextHob.ResourceDescriptor->ResourceLength -= PcdGet32(PcdFdSize); in MemoryPeim()
169 …NextHob.ResourceDescriptor->ResourceLength = PcdGet64 (PcdFdBaseAddress) - NextHob.ResourceDescrip… in MemoryPeim()
172 if (FdTop < NextHob.ResourceDescriptor->PhysicalStart + ResourceLength) { in MemoryPeim()
/device/linaro/bootloader/OpenPlatformPkg/Platforms/Hisilicon/Binary/D02/MemoryInitPei/
DMemoryInitPeiLib.c77 UINT64 ResourceLength; in MemoryPeim() local
144 … (FdTop <= NextHob.ResourceDescriptor->PhysicalStart + NextHob.ResourceDescriptor->ResourceLength)) in MemoryPeim()
147 ResourceLength = NextHob.ResourceDescriptor->ResourceLength; in MemoryPeim()
148 ResourceTop = NextHob.ResourceDescriptor->PhysicalStart + ResourceLength; in MemoryPeim()
162 NextHob.ResourceDescriptor->ResourceLength -= PcdGet32(PcdFdSize); in MemoryPeim()
172 …NextHob.ResourceDescriptor->ResourceLength = PcdGet64(PcdFdBaseAddress) - NextHob.ResourceDescript… in MemoryPeim()
175 if (FdTop < NextHob.ResourceDescriptor->PhysicalStart + ResourceLength) { in MemoryPeim()
/device/linaro/bootloader/edk2/DuetPkg/DxeIpl/
DHobGeneration.c620 gHob->MemoryFreeUnder1MB.ResourceLength = EbdaAddress - EFI_MEMORY_BELOW_1MB_START; in PrepareHobMemory()
628 gHob->MemoryAbove1MB.ResourceLength = 0; in PrepareHobMemory()
630 gHob->MemoryAbove4GB.ResourceLength = 0; in PrepareHobMemory()
646 …gHob->MemoryAbove1MB.ResourceLength = LShiftU64 (EfiMemoryDescriptor[Index].NumberOfPages, EFI_PAG… in PrepareHobMemory()
647 …} else if (gHob->MemoryAbove1MB.PhysicalStart + gHob->MemoryAbove1MB.ResourceLength == EfiMemoryDe… in PrepareHobMemory()
648 …gHob->MemoryAbove1MB.ResourceLength += LShiftU64 (EfiMemoryDescriptor[Index].NumberOfPages, EFI_PA… in PrepareHobMemory()
667 …gHob->MemoryAbove4GB.ResourceLength = LShiftU64 (EfiMemoryDescriptor[Index].NumberOfPages, EFI_PAG… in PrepareHobMemory()
669 if (gHob->MemoryAbove4GB.PhysicalStart + gHob->MemoryAbove4GB.ResourceLength == in PrepareHobMemory()
671 …gHob->MemoryAbove4GB.ResourceLength += LShiftU64 (EfiMemoryDescriptor[Index].NumberOfPages, EFI_PA… in PrepareHobMemory()
677 if (gHob->MemoryAbove4GB.ResourceLength == 0) { in PrepareHobMemory()
[all …]
DDxeInit.c240 gHob->BfvResource.PhysicalStart, gHob->BfvResource.ResourceLength, in DxeInit()
241 gHob->NvStorageFvResource.PhysicalStart, gHob->NvStorageFvResource.ResourceLength, in DxeInit()
243 gHob->NvFtwFvResource.PhysicalStart, gHob->NvFtwFvResource.ResourceLength, in DxeInit()
248 gHob->MemoryFreeUnder1MB.PhysicalStart, gHob->MemoryFreeUnder1MB.ResourceLength, in DxeInit()
249 gHob->MemoryAbove1MB.PhysicalStart, gHob->MemoryAbove1MB.ResourceLength, in DxeInit()
250 gHob->MemoryAbove4GB.PhysicalStart, gHob->MemoryAbove4GB.ResourceLength, in DxeInit()
/device/linaro/bootloader/edk2/Vlv2TbltDevicePkg/FspSupport/Library/PeiFspHobProcessLibVlv2/
DFspHobProcessLibVlv2.c196 DEBUG((DEBUG_INFO, "ResourceLength: 0x%x\n", Hob.ResourceDescriptor->ResourceLength)); in FspHobProcessForMemoryResource()
202 … && (Hob.ResourceDescriptor->PhysicalStart + Hob.ResourceDescriptor->ResourceLength <= BASE_4GB)) { in FspHobProcessForMemoryResource()
203 LowMemorySize += Hob.ResourceDescriptor->ResourceLength; in FspHobProcessForMemoryResource()
210 … && (Hob.ResourceDescriptor->PhysicalStart + Hob.ResourceDescriptor->ResourceLength <= BASE_4GB) in FspHobProcessForMemoryResource()
214 FspMemorySize = Hob.ResourceDescriptor->ResourceLength; in FspHobProcessForMemoryResource()
220 … && (Hob.ResourceDescriptor->PhysicalStart + Hob.ResourceDescriptor->ResourceLength <= 0x100000000) in FspHobProcessForMemoryResource()
226 …if ((Hob.ResourceDescriptor->ResourceLength == 0 ) || (Hob.ResourceDescriptor->ResourceLength > 0… in FspHobProcessForMemoryResource()
227 Hob.ResourceDescriptor->ResourceLength = 0x800000; in FspHobProcessForMemoryResource()
231 TsegSize = Hob.ResourceDescriptor->ResourceLength; in FspHobProcessForMemoryResource()
242 Hob.ResourceDescriptor->ResourceLength in FspHobProcessForMemoryResource()
/device/linaro/bootloader/OpenPlatformPkg/Platforms/Hisilicon/HiKey/Library/HiKeyLib/
DHiKeyMem.c81 UINT64 ResourceLength; in ArmPlatformGetVirtualMemoryMap() local
116 NextHob.ResourceDescriptor->PhysicalStart + NextHob.ResourceDescriptor->ResourceLength)) { in ArmPlatformGetVirtualMemoryMap()
118 ResourceLength = NextHob.ResourceDescriptor->ResourceLength; in ArmPlatformGetVirtualMemoryMap()
119 ResourceTop = NextHob.ResourceDescriptor->PhysicalStart + ResourceLength; in ArmPlatformGetVirtualMemoryMap()
128 …NextHob.ResourceDescriptor->ResourceLength = HiKeyReservedMemoryBuffer[Index].Offset - NextHob.Res… in ArmPlatformGetVirtualMemoryMap()
/device/linaro/bootloader/OpenPlatformPkg/Platforms/Hisilicon/HiKey960/Library/HiKey960Lib/
DHiKey960Mem.c89 UINT64 ResourceLength; in ArmPlatformGetVirtualMemoryMap() local
128 NextHob.ResourceDescriptor->PhysicalStart + NextHob.ResourceDescriptor->ResourceLength)) in ArmPlatformGetVirtualMemoryMap()
131 ResourceLength = NextHob.ResourceDescriptor->ResourceLength; in ArmPlatformGetVirtualMemoryMap()
132 ResourceTop = NextHob.ResourceDescriptor->PhysicalStart + ResourceLength; in ArmPlatformGetVirtualMemoryMap()
143 NextHob.ResourceDescriptor->ResourceLength = HiKey960ReservedMemoryBuffer[Index].Offset - in ArmPlatformGetVirtualMemoryMap()
/device/linaro/bootloader/edk2/MdeModulePkg/Core/Pei/Dispatcher/
DDispatcher.c229 …oryHob->AllocDescriptor.MemoryLength == ResourceHob->PhysicalStart + ResourceHob->ResourceLength) { in PeiLoadFixAddressIsMemoryRangeAvailable()
307 ResourceHob->PhysicalStart + ResourceHob->ResourceLength > MAX_ADDRESS) { in PeiLoadFixAddressHook()
332 … ResourceHob->PhysicalStart + ResourceHob->ResourceLength >= NextResourceHob->PhysicalStart)|| in PeiLoadFixAddressHook()
334 … ResourceHob->PhysicalStart <= NextResourceHob->PhysicalStart + NextResourceHob->ResourceLength)) { in PeiLoadFixAddressHook()
336 …ceHob->PhysicalStart + ResourceHob->ResourceLength)>(NextResourceHob->PhysicalStart + NextResource… in PeiLoadFixAddressHook()
337 …ceHob->PhysicalStart + ResourceHob->ResourceLength):(NextResourceHob->PhysicalStart + NextResource… in PeiLoadFixAddressHook()
343 ResourceHob->ResourceLength = (MemoryRangeEnd - ResourceHob->PhysicalStart); in PeiLoadFixAddressHook()
376 …E_SYSTEM_MEMORY || NextResourceHob->PhysicalStart + NextResourceHob->ResourceLength > MAX_ADDRESS)… in PeiLoadFixAddressHook()
383 …AllocDescriptor.MemoryLength <= NextResourceHob->PhysicalStart + NextResourceHob->ResourceLength) { in PeiLoadFixAddressHook()
395 …>AllocDescriptor.MemoryLength < NextResourceHob->PhysicalStart + NextResourceHob->ResourceLength) { in PeiLoadFixAddressHook()
[all …]
/device/linaro/bootloader/edk2/IntelFsp2WrapperPkg/Library/PeiFspWrapperHobProcessLibSample/
DFspWrapperHobProcessLibSample.c189 DEBUG((DEBUG_INFO, "ResourceLength: 0x%x\n", Hob.ResourceDescriptor->ResourceLength)); in PostFspmHobProcess()
195 … && (Hob.ResourceDescriptor->PhysicalStart + Hob.ResourceDescriptor->ResourceLength <= BASE_4GB)) { in PostFspmHobProcess()
196 LowMemorySize += Hob.ResourceDescriptor->ResourceLength; in PostFspmHobProcess()
203 … && (Hob.ResourceDescriptor->PhysicalStart + Hob.ResourceDescriptor->ResourceLength <= BASE_4GB) in PostFspmHobProcess()
207 FspMemorySize = Hob.ResourceDescriptor->ResourceLength; in PostFspmHobProcess()
218 Hob.ResourceDescriptor->ResourceLength in PostFspmHobProcess()
/device/linaro/bootloader/edk2/IntelFspWrapperPkg/Library/PeiFspHobProcessLibSample/
DFspHobProcessLibSample.c187 DEBUG((DEBUG_INFO, "ResourceLength: 0x%x\n", Hob.ResourceDescriptor->ResourceLength)); in FspHobProcessForMemoryResource()
193 … && (Hob.ResourceDescriptor->PhysicalStart + Hob.ResourceDescriptor->ResourceLength <= BASE_4GB)) { in FspHobProcessForMemoryResource()
194 LowMemorySize += Hob.ResourceDescriptor->ResourceLength; in FspHobProcessForMemoryResource()
201 … && (Hob.ResourceDescriptor->PhysicalStart + Hob.ResourceDescriptor->ResourceLength <= BASE_4GB) in FspHobProcessForMemoryResource()
205 FspMemorySize = Hob.ResourceDescriptor->ResourceLength; in FspHobProcessForMemoryResource()
216 Hob.ResourceDescriptor->ResourceLength in FspHobProcessForMemoryResource()
/device/linaro/bootloader/edk2/IntelFsp2Pkg/Library/BaseFspPlatformLib/
DFspPlatformMemory.c114 *LowMemoryLength += (UINT64) (Hob.ResourceDescriptor->ResourceLength); in FspGetSystemMemorySize()
116 *HighMemoryLength += (UINT64) (Hob.ResourceDescriptor->ResourceLength); in FspGetSystemMemorySize()
/device/linaro/bootloader/edk2/Vlv2TbltDevicePkg/PlatformPei/
DMemoryCallback.c84 *LowMemoryLength += (UINT64) (Hob.ResourceDescriptor->ResourceLength);
86 *HighMemoryLength += (UINT64) (Hob.ResourceDescriptor->ResourceLength);
/device/linaro/bootloader/edk2/IntelFspPkg/Library/BaseFspPlatformLib/
DFspPlatformMemory.c60 *LowMemoryLength += (UINT64) (Hob.ResourceDescriptor->ResourceLength); in FspGetSystemMemorySize()
62 *HighMemoryLength += (UINT64) (Hob.ResourceDescriptor->ResourceLength); in FspGetSystemMemorySize()
/device/linaro/bootloader/edk2/IntelFsp2WrapperPkg/Library/PeiFspWrapperApiTestLib/
DFspWrapperApiTest.c48 …(UINTN)Hob.ResourceDescriptor->PhysicalStart, (UINTN)Hob.ResourceDescriptor->ResourceLength, 0x5A); in TestFspMemoryInitApiOutput()
/device/linaro/bootloader/edk2/ArmPkg/Library/BdsLib/
DBdsInternal.h94 UINT64 ResourceLength; member
/device/linaro/bootloader/edk2/MdeModulePkg/Universal/CapsulePei/Common/
DCommonHeader.h46 UINT64 ResourceLength; member
/device/linaro/bootloader/OpenPlatformPkg/Chips/Hisilicon/Library/ArmPlatformLibHisilicon/
DArmPlatformLibMem.c79 VirtualMemoryTable[Index].Length =NextHob.ResourceDescriptor->ResourceLength; in ArmPlatformGetVirtualMemoryMap()
/device/linaro/bootloader/edk2/Vlv2TbltDevicePkg/PlatformInitPei/
DMemoryPeim.c287 *LowMemoryLength += (UINT64) (Hob.ResourceDescriptor->ResourceLength);
289 *HighMemoryLength += (UINT64) (Hob.ResourceDescriptor->ResourceLength);
/device/linaro/bootloader/edk2/MdeModulePkg/Universal/CapsulePei/
DUefiCapsule.c663 MemoryResource[0].ResourceLength = LShiftU64 (1, GetPhysicalAddressBits ()); in BuildMemoryResourceDescriptor()
665 MemoryResource[0x0].PhysicalStart, MemoryResource[0x0].ResourceLength)); in BuildMemoryResourceDescriptor()
689 … Index, ResourceDescriptor->PhysicalStart, ResourceDescriptor->ResourceLength)); in BuildMemoryResourceDescriptor()
691 MemoryResource[Index].ResourceLength = ResourceDescriptor->ResourceLength; in BuildMemoryResourceDescriptor()
/device/linaro/bootloader/edk2/EmulatorPkg/PlatformSmbiosDxe/
DPlatformSmbiosDxe.c71 HobPtr.ResourceDescriptor->ResourceLength - 1; in CreatePlatformSmbiosMemoryRecords()
/device/linaro/bootloader/edk2/IntelFrameworkModulePkg/Universal/Acpi/AcpiS3SaveDxe/
DAcpiVariableThunkPlatform.c106 MemoryLength += Hob.ResourceDescriptor->ResourceLength; in S3ReadyThunkPlatform()
/device/linaro/bootloader/edk2/MdePkg/Include/Pi/
DPiHob.h336 UINT64 ResourceLength; member
/device/linaro/bootloader/edk2/EdkCompatibilityPkg/Foundation/Framework/Include/
DPeiHob.h149 UINT64 ResourceLength; member

12