Searched refs:HobLength (Results 1 – 14 of 14) sorted by relevance
/device/linaro/bootloader/edk2/MdePkg/Library/PeiMemoryAllocationLib/ |
D | MemoryAllocationLib.c | 189 UINT64 HobLength; in InternalAllocateAlignedPages() local 274 HobLength = EFI_PAGES_TO_SIZE(Pages); in InternalAllocateAlignedPages() 275 Hob.MemoryAllocation->AllocDescriptor.MemoryLength = HobLength; in InternalAllocateAlignedPages() 280 HobLength = (AlignedMemory - Memory); in InternalAllocateAlignedPages() 281 Hob.MemoryAllocation->AllocDescriptor.MemoryLength = HobLength; in InternalAllocateAlignedPages() 293 HobBaseAddress, HobLength, (UINTN) HobMemoryType)); in InternalAllocateAlignedPages() 296 HobLength = EFI_PAGES_TO_SIZE(Pages); in InternalAllocateAlignedPages() 301 HobLength, in InternalAllocateAlignedPages() 306 HobBaseAddress, HobLength, (UINTN) HobMemoryType)); in InternalAllocateAlignedPages() 310 HobBaseAddress, HobLength, (UINTN) HobMemoryType)); in InternalAllocateAlignedPages() [all …]
|
/device/linaro/bootloader/edk2/MdeModulePkg/Core/Pei/Hob/ |
D | Hob.c | 112 ((EFI_HOB_GENERIC_HEADER*) *Hob)->HobLength = Length; in PeiCreateHob() 119 HobEnd->HobLength = (UINT16) sizeof (EFI_HOB_GENERIC_HEADER); in PeiCreateHob() 151 Hob->Header.HobLength = (UINT16) sizeof (EFI_HOB_HANDOFF_INFO_TABLE); in PeiCoreBuildHobHandoffInfoTable() 155 HobEnd->HobLength = (UINT16) sizeof (EFI_HOB_GENERIC_HEADER); in PeiCoreBuildHobHandoffInfoTable()
|
/device/linaro/bootloader/edk2/EdkCompatibilityPkg/Foundation/Library/Pei/Hob/ |
D | PeiHobLib.c | 55 Hob.Header->HobLength = (UINT16) sizeof (EFI_HOB_GENERIC_HEADER); in BuildHobEndOfHobList() 105 Hob.Header->HobLength = (UINT16) sizeof (EFI_HOB_HANDOFF_INFO_TABLE); in BuildHobHandoffInfoTable() 164 Hob.Header->HobLength = (UINT16) sizeof (EFI_HOB_MEMORY_ALLOCATION_MODULE); in BuildHobModule() 221 Hob.Header->HobLength = (UINT16) sizeof (EFI_HOB_RESOURCE_DESCRIPTOR); in BuildHobResourceDescriptor() 277 Hob.Header->HobLength = (UINT16)Length; in BuildHobGuidType() 322 Hob.Header->HobLength = (UINT16) sizeof (EFI_HOB_FIRMWARE_VOLUME); in BuildHobFvDescriptor() 371 Hob.Header->HobLength = (UINT16) sizeof (EFI_HOB_CPU); in BuildHobCpu() 419 Hob.Header->HobLength = (UINT16) sizeof (EFI_HOB_MEMORY_ALLOCATION_STACK); in BuildHobStack() 471 Hob.Header->HobLength = (UINT16) sizeof (EFI_HOB_MEMORY_ALLOCATION_BSP_STORE); in BuildHobBspStore() 528 Hob.Header->HobLength = (UINT16) sizeof (EFI_HOB_MEMORY_ALLOCATION); in BuildMemoryAllocationHob() [all …]
|
/device/linaro/bootloader/edk2/EmbeddedPkg/Library/PrePiLib/ |
D | PrePi.h | 36 #define GET_HOB_LENGTH(Hob) ((Hob).Header->HobLength) 44 #define GET_GUID_HOB_DATA_SIZE(GuidHob) (((GuidHob)->Header).HobLength - sizeof (EFI_HOB_GUID_TYPE))
|
/device/linaro/bootloader/edk2/EmbeddedPkg/Library/PrePiHobLib/ |
D | Hob.c | 88 Hob->Header.HobLength = sizeof(EFI_HOB_HANDOFF_INFO_TABLE); in HobConstructor() 92 HobEnd->HobLength = sizeof(EFI_HOB_GENERIC_HEADER); in HobConstructor() 110 IN UINT16 HobLength in CreateHob() argument 120 HobLength = (UINT16)((HobLength + 0x7) & (~0x7)); in CreateHob() 124 if (FreeMemory < HobLength) { in CreateHob() 130 ((EFI_HOB_GENERIC_HEADER*) Hob)->HobLength = HobLength; in CreateHob() 133 HobEnd = (EFI_HOB_GENERIC_HEADER*) ((UINTN)Hob + HobLength); in CreateHob() 137 HobEnd->HobLength = sizeof(EFI_HOB_GENERIC_HEADER); in CreateHob()
|
/device/linaro/bootloader/edk2/EdkCompatibilityPkg/Foundation/Library/Dxe/Hob/ |
D | Hob.c | 110 Size += Hob.Header->HobLength; in GetHobListSize() 111 Hob.Raw += Hob.Header->HobLength; in GetHobListSize() 114 Size += Hob.Header->HobLength; in GetHobListSize() 426 *BufferSize = GuidHob.Header->HobLength - sizeof (EFI_HOB_GUID_TYPE); in GetNextGuidHob()
|
/device/linaro/bootloader/OpenPlatformPkg/Platforms/AMD/Styx/Drivers/FdtDxe/ |
D | LinuxLoaderHelper.c | 181 …)GetNextHob (EFI_HOB_TYPE_RESOURCE_DESCRIPTOR, (VOID *)((UINTN)ResHob + ResHob->Header.HobLength)); in GetSystemMemoryResources() 191 …)GetNextHob (EFI_HOB_TYPE_RESOURCE_DESCRIPTOR, (VOID *)((UINTN)ResHob + ResHob->Header.HobLength)); in GetSystemMemoryResources() 196 …)GetNextHob (EFI_HOB_TYPE_RESOURCE_DESCRIPTOR, (VOID *)((UINTN)ResHob + ResHob->Header.HobLength)); in GetSystemMemoryResources()
|
/device/linaro/bootloader/edk2/EdkCompatibilityPkg/Foundation/Framework/Include/ |
D | PeiHob.h | 35 UINT16 HobLength; member 253 #define GET_HOB_LENGTH(Hob) ((Hob).Header->HobLength)
|
/device/linaro/bootloader/edk2/EdkCompatibilityPkg/Foundation/Library/EdkIIGlueLib/Include/Common/ |
D | EdkIIGlueDefinitionChangesBase.h | 49 #define GET_GUID_HOB_DATA_SIZE(GuidHob) (((GuidHob)->Header).HobLength - sizeof (EFI_HOB_GUID_TYPE))
|
/device/linaro/bootloader/edk2/EdkCompatibilityPkg/Foundation/Library/Pei/PeiLib/ |
D | FindFv.c | 162 HobStart.Raw = Hob.Raw + Hob.Header->HobLength; in FindFv()
|
/device/linaro/bootloader/edk2/MdePkg/Include/Pi/ |
D | PiHob.h | 49 UINT16 HobLength; member
|
/device/linaro/bootloader/edk2/MdePkg/Include/Library/ |
D | HobLib.h | 476 ((*(EFI_HOB_GENERIC_HEADER **)&(HobStart))->HobLength)
|
/device/linaro/bootloader/edk2/MdeModulePkg/Core/Pei/FwVol/ |
D | FwVol.c | 2021 …_FIRMWARE_VOLUME *)GetNextHob (EFI_HOB_TYPE_FV, (VOID *)((UINTN)FvHob + FvHob->Header.HobLength)); in FindNextCoreFvHandle()
|
/device/linaro/bootloader/edk2/MdeModulePkg/Universal/Variable/RuntimeDxe/ |
D | Variable.c | 4102 VariableStoreLength = (UINT64) (GuidHob->Header.HobLength - sizeof (EFI_HOB_GUID_TYPE)); in VariableCommonInitialize()
|