/device/linaro/bootloader/edk2/EdkCompatibilityPkg/Foundation/Library/Pei/PeiLib/Hob/ |
D | Hob.c | 387 Hob->AllocDescriptor.Name = gEfiHobMemeryAllocStackGuid; in PeiBuildHobStack() 388 Hob->AllocDescriptor.MemoryBaseAddress = BaseAddress; in PeiBuildHobStack() 389 Hob->AllocDescriptor.MemoryLength = Length; in PeiBuildHobStack() 390 Hob->AllocDescriptor.MemoryType = EfiBootServicesData; in PeiBuildHobStack() 392 Hob->AllocDescriptor.Reserved, in PeiBuildHobStack() 393 sizeof (Hob->AllocDescriptor.Reserved), in PeiBuildHobStack() 445 Hob->AllocDescriptor.Name = gEfiHobMemeryAllocBspStoreGuid; in PeiBuildHobBspStore() 446 Hob->AllocDescriptor.MemoryBaseAddress = BaseAddress; in PeiBuildHobBspStore() 447 Hob->AllocDescriptor.MemoryLength = Length; in PeiBuildHobBspStore() 448 Hob->AllocDescriptor.MemoryType = MemoryType; in PeiBuildHobBspStore() [all …]
|
/device/linaro/bootloader/edk2/EdkCompatibilityPkg/Foundation/Library/EdkIIGlueLib/Library/PeiHobLib/ |
D | HobLib.c | 528 CopyGuid (&(Hob->AllocDescriptor.Name), &gEfiHobMemoryAllocStackGuid); in BuildStackHob() 529 Hob->AllocDescriptor.MemoryBaseAddress = BaseAddress; in BuildStackHob() 530 Hob->AllocDescriptor.MemoryLength = Length; in BuildStackHob() 531 Hob->AllocDescriptor.MemoryType = EfiBootServicesData; in BuildStackHob() 536 ZeroMem (Hob->AllocDescriptor.Reserved, sizeof (Hob->AllocDescriptor.Reserved)); in BuildStackHob() 567 CopyGuid (&(Hob->AllocDescriptor.Name), &gEfiHobMemoryAllocBspStoreGuid); in BuildBspStoreHob() 568 Hob->AllocDescriptor.MemoryBaseAddress = BaseAddress; in BuildBspStoreHob() 569 Hob->AllocDescriptor.MemoryLength = Length; in BuildBspStoreHob() 570 Hob->AllocDescriptor.MemoryType = MemoryType; in BuildBspStoreHob() 575 ZeroMem (Hob->AllocDescriptor.Reserved, sizeof (Hob->AllocDescriptor.Reserved)); in BuildBspStoreHob() [all …]
|
/device/linaro/bootloader/edk2/MdePkg/Library/PeiHobLib/ |
D | HobLib.c | 710 CopyGuid (&(Hob->AllocDescriptor.Name), &gEfiHobMemoryAllocStackGuid); in BuildStackHob() 711 Hob->AllocDescriptor.MemoryBaseAddress = BaseAddress; in BuildStackHob() 712 Hob->AllocDescriptor.MemoryLength = Length; in BuildStackHob() 713 Hob->AllocDescriptor.MemoryType = EfiBootServicesData; in BuildStackHob() 718 ZeroMem (Hob->AllocDescriptor.Reserved, sizeof (Hob->AllocDescriptor.Reserved)); in BuildStackHob() 753 CopyGuid (&(Hob->AllocDescriptor.Name), &gEfiHobMemoryAllocBspStoreGuid); in BuildBspStoreHob() 754 Hob->AllocDescriptor.MemoryBaseAddress = BaseAddress; in BuildBspStoreHob() 755 Hob->AllocDescriptor.MemoryLength = Length; in BuildBspStoreHob() 756 Hob->AllocDescriptor.MemoryType = MemoryType; in BuildBspStoreHob() 761 ZeroMem (Hob->AllocDescriptor.Reserved, sizeof (Hob->AllocDescriptor.Reserved)); in BuildBspStoreHob() [all …]
|
/device/linaro/bootloader/edk2/IntelFrameworkPkg/Library/PeiHobLibFramework/ |
D | HobLib.c | 712 CopyGuid (&(Hob->AllocDescriptor.Name), &gEfiHobMemoryAllocStackGuid); in BuildStackHob() 713 Hob->AllocDescriptor.MemoryBaseAddress = BaseAddress; in BuildStackHob() 714 Hob->AllocDescriptor.MemoryLength = Length; in BuildStackHob() 715 Hob->AllocDescriptor.MemoryType = EfiBootServicesData; in BuildStackHob() 720 ZeroMem (Hob->AllocDescriptor.Reserved, sizeof (Hob->AllocDescriptor.Reserved)); in BuildStackHob() 755 CopyGuid (&(Hob->AllocDescriptor.Name), &gEfiHobMemoryAllocBspStoreGuid); in BuildBspStoreHob() 756 Hob->AllocDescriptor.MemoryBaseAddress = BaseAddress; in BuildBspStoreHob() 757 Hob->AllocDescriptor.MemoryLength = Length; in BuildBspStoreHob() 758 Hob->AllocDescriptor.MemoryType = MemoryType; in BuildBspStoreHob() 763 ZeroMem (Hob->AllocDescriptor.Reserved, sizeof (Hob->AllocDescriptor.Reserved)); in BuildBspStoreHob() [all …]
|
/device/linaro/bootloader/edk2/EmbeddedPkg/Library/PrePiHobLib/ |
D | Hob.c | 688 CopyGuid (&(Hob->AllocDescriptor.Name), &gEfiHobMemoryAllocStackGuid); in BuildStackHob() 689 Hob->AllocDescriptor.MemoryBaseAddress = BaseAddress; in BuildStackHob() 690 Hob->AllocDescriptor.MemoryLength = Length; in BuildStackHob() 691 Hob->AllocDescriptor.MemoryType = EfiBootServicesData; in BuildStackHob() 696 ZeroMem (Hob->AllocDescriptor.Reserved, sizeof (Hob->AllocDescriptor.Reserved)); in BuildStackHob() 717 …if (CompareGuid (&gEfiHobMemoryAllocStackGuid, &(Hob.MemoryAllocationStack->AllocDescriptor.Name))… in UpdateStackHob() 723 Hob.MemoryAllocationStack->AllocDescriptor.MemoryBaseAddress, in UpdateStackHob() 724 Hob.MemoryAllocationStack->AllocDescriptor.MemoryLength, in UpdateStackHob() 730 Hob.MemoryAllocationStack->AllocDescriptor.MemoryBaseAddress = BaseAddress; in UpdateStackHob() 731 Hob.MemoryAllocationStack->AllocDescriptor.MemoryLength = Length; in UpdateStackHob() [all …]
|
/device/linaro/bootloader/edk2/EmbeddedPkg/Ebl/ |
D | Hob.c | 154 …(Hob.MemoryAllocation->AllocDescriptor.MemoryType < EfiMaxMemoryType) ? gMemMapType[Hob.MemoryAllo… in EblHobCmd() 155 &Hob.MemoryAllocation->AllocDescriptor.Name, in EblHobCmd() 156 Hob.MemoryAllocation->AllocDescriptor.MemoryBaseAddress, in EblHobCmd() 157 Hob.MemoryAllocation->AllocDescriptor.MemoryLength in EblHobCmd() 159 … if (CompareGuid (&gEfiHobMemoryAllocModuleGuid, &Hob.MemoryAllocation->AllocDescriptor.Name)) { in EblHobCmd()
|
/device/linaro/bootloader/edk2/EdkCompatibilityPkg/Foundation/Library/Pei/Hob/ |
D | PeiHobLib.c | 421 …CopyMem(&(Hob.MemoryAllocationStack->AllocDescriptor.Name), &gEfiHobMemeryAllocStackGuid, sizeof(E… in BuildHobStack() 422 (Hob.MemoryAllocationStack->AllocDescriptor).MemoryBaseAddress = BaseAddress; in BuildHobStack() 423 (Hob.MemoryAllocationStack->AllocDescriptor).MemoryLength = Length; in BuildHobStack() 424 (Hob.MemoryAllocationStack->AllocDescriptor).MemoryType = EfiBootServicesData; in BuildHobStack() 473 (Hob.MemoryAllocationBspStore->AllocDescriptor).MemoryBaseAddress = BaseAddress; in BuildHobBspStore() 474 (Hob.MemoryAllocationBspStore->AllocDescriptor).MemoryLength = Length; in BuildHobBspStore() 475 (Hob.MemoryAllocationBspStore->AllocDescriptor).MemoryType = MemoryType; in BuildHobBspStore() 476 …CopyMem(&(Hob.MemoryAllocationBspStore->AllocDescriptor).Name, &gEfiHobMemeryAllocBspStoreGuid, si… in BuildHobBspStore() 531 CopyMem (&(Hob.MemoryAllocation->AllocDescriptor.Name), &Name, sizeof (EFI_GUID)); in BuildMemoryAllocationHob() 533 ZeroMem (&Hob.MemoryAllocation->AllocDescriptor.Name, sizeof (EFI_GUID)); in BuildMemoryAllocationHob() [all …]
|
/device/linaro/bootloader/edk2/DuetPkg/DxeIpl/ |
D | DxeInit.c | 246 gHob->Stack.AllocDescriptor.MemoryBaseAddress, gHob->Stack.AllocDescriptor.MemoryLength, in DxeInit() 252 …gHob->MemoryAllocation.AllocDescriptor.MemoryBaseAddress, gHob->MemoryAllocation.AllocDescriptor.M… in DxeInit()
|
D | HobGeneration.c | 695 gHob->Stack.AllocDescriptor.MemoryLength = EFI_MEMORY_STACK_PAGE_NUM * EFI_PAGE_SIZE; in PrepareHobStack() 696 …gHob->Stack.AllocDescriptor.MemoryBaseAddress = (EFI_PHYSICAL_ADDRESS)(UINTN)StackTop - gHob->Stac… in PrepareHobStack() 698 return (VOID *)(UINTN)gHob->Stack.AllocDescriptor.MemoryBaseAddress; in PrepareHobStack() 987 gHob->MemoryAllocation.AllocDescriptor.MemoryBaseAddress = gHob->Phit.EfiFreeMemoryTop; in CompleteHobGeneration() 991 …gHob->MemoryAllocation.AllocDescriptor.MemoryLength = gHob->Stack.AllocDescriptor.MemoryBase… in CompleteHobGeneration()
|
/device/linaro/bootloader/edk2/MdePkg/Include/Pi/ |
D | PiHob.h | 159 EFI_HOB_MEMORY_ALLOCATION_HEADER AllocDescriptor; member 181 EFI_HOB_MEMORY_ALLOCATION_HEADER AllocDescriptor; member 199 EFI_HOB_MEMORY_ALLOCATION_HEADER AllocDescriptor; member
|
/device/linaro/bootloader/edk2/EdkCompatibilityPkg/Foundation/Framework/Include/ |
D | PeiHob.h | 79 EFI_HOB_MEMORY_ALLOCATION_HEADER AllocDescriptor; member 88 EFI_HOB_MEMORY_ALLOCATION_HEADER AllocDescriptor; member 93 EFI_HOB_MEMORY_ALLOCATION_HEADER AllocDescriptor; member
|
/device/linaro/bootloader/edk2/MdeModulePkg/Core/Pei/Dispatcher/ |
D | Dispatcher.c | 228 if(MemoryHob->AllocDescriptor.MemoryBaseAddress == ResourceHob->PhysicalStart && in PeiLoadFixAddressIsMemoryRangeAvailable() 229 …MemoryHob->AllocDescriptor.MemoryBaseAddress + MemoryHob->AllocDescriptor.MemoryLength == Resource… in PeiLoadFixAddressIsMemoryRangeAvailable() 382 if (MemoryHob->AllocDescriptor.MemoryBaseAddress >= NextResourceHob->PhysicalStart && in PeiLoadFixAddressHook() 383 …MemoryHob->AllocDescriptor.MemoryBaseAddress + MemoryHob->AllocDescriptor.MemoryLength <= NextReso… in PeiLoadFixAddressHook() 387 if (MemoryHob->AllocDescriptor.MemoryBaseAddress > NextResourceHob->PhysicalStart) { in PeiLoadFixAddressHook() 392 … (MemoryHob->AllocDescriptor.MemoryBaseAddress - NextResourceHob->PhysicalStart) in PeiLoadFixAddressHook() 395 …if (MemoryHob->AllocDescriptor.MemoryBaseAddress + MemoryHob->AllocDescriptor.MemoryLength < NextR… in PeiLoadFixAddressHook() 399 …MemoryHob->AllocDescriptor.MemoryBaseAddress + MemoryHob->AllocDescriptor.MemoryLength, … in PeiLoadFixAddressHook() 400 …NextResourceHob->ResourceLength -(MemoryHob->AllocDescriptor.MemoryBaseAddress + MemoryHob->AllocD… in PeiLoadFixAddressHook() 403 NextResourceHob->PhysicalStart = MemoryHob->AllocDescriptor.MemoryBaseAddress; in PeiLoadFixAddressHook() [all …]
|
/device/linaro/bootloader/edk2/MdePkg/Library/PeiMemoryAllocationLib/ |
D | MemoryAllocationLib.c | 263 if (Hob.MemoryAllocation->AllocDescriptor.MemoryBaseAddress == Memory) { in InternalAllocateAlignedPages() 275 Hob.MemoryAllocation->AllocDescriptor.MemoryLength = HobLength; in InternalAllocateAlignedPages() 281 Hob.MemoryAllocation->AllocDescriptor.MemoryLength = HobLength; in InternalAllocateAlignedPages() 282 Hob.MemoryAllocation->AllocDescriptor.MemoryType = EfiConventionalMemory; in InternalAllocateAlignedPages() 285 HobBaseAddress = Hob.MemoryAllocation->AllocDescriptor.MemoryBaseAddress; in InternalAllocateAlignedPages() 286 HobMemoryType = Hob.MemoryAllocation->AllocDescriptor.MemoryType; in InternalAllocateAlignedPages()
|
/device/linaro/bootloader/edk2/UefiCpuPkg/Library/MpInitLib/ |
D | PeiMpLib.c | 122 if (MemoryHob->AllocDescriptor.MemoryBaseAddress == CpuMpData->WakeupBuffer) { in CpuMpEndOfPeiCallback() 171 MemoryStart = (UINTN) MemoryHob->AllocDescriptor.MemoryBaseAddress; in CheckOverlapWithAllocatedBuffer() 172 MemoryEnd = (UINTN) (MemoryHob->AllocDescriptor.MemoryBaseAddress + in CheckOverlapWithAllocatedBuffer() 173 MemoryHob->AllocDescriptor.MemoryLength); in CheckOverlapWithAllocatedBuffer()
|
/device/linaro/bootloader/edk2/MdeModulePkg/Core/DxeIplPeim/ |
D | DxeLoad.c | 807 …if (CompareGuid (&gEfiHobMemoryAllocStackGuid, &(Hob.MemoryAllocationStack->AllocDescriptor.Name))… in UpdateStackHob() 814 Hob.MemoryAllocationStack->AllocDescriptor.MemoryBaseAddress, in UpdateStackHob() 815 Hob.MemoryAllocationStack->AllocDescriptor.MemoryLength, in UpdateStackHob() 821 Hob.MemoryAllocationStack->AllocDescriptor.MemoryBaseAddress = BaseAddress; in UpdateStackHob() 822 Hob.MemoryAllocationStack->AllocDescriptor.MemoryLength = Length; in UpdateStackHob()
|
/device/linaro/bootloader/edk2/MdeModulePkg/Core/Dxe/DxeMain/ |
D | DxeMain.c | 377 Hob.MemoryAllocation->AllocDescriptor.MemoryType, \ in DxeMain() 378 Hob.MemoryAllocation->AllocDescriptor.MemoryBaseAddress, \ in DxeMain() 379 …Hob.MemoryAllocation->AllocDescriptor.MemoryBaseAddress + Hob.MemoryAllocation->AllocDescriptor.Me… in DxeMain()
|
/device/linaro/bootloader/edk2/MdeModulePkg/Core/Dxe/Gcd/ |
D | Gcd.c | 2478 BaseAddress = MemoryHob->AllocDescriptor.MemoryBaseAddress; in CoreInitializeGcdServices() 2485 MemoryHob->AllocDescriptor.MemoryLength, in CoreInitializeGcdServices() 2494 MemoryHob->AllocDescriptor.MemoryType, in CoreInitializeGcdServices() 2495 MemoryHob->AllocDescriptor.MemoryBaseAddress, in CoreInitializeGcdServices() 2496 RShiftU64 (MemoryHob->AllocDescriptor.MemoryLength, EFI_PAGE_SHIFT), in CoreInitializeGcdServices()
|