/device/linaro/bootloader/edk2/ArmVirtPkg/Library/FdtPL011SerialPortLib/ |
FdtPL011SerialPortLib.c | 58 VOID *Hob;
66 Hob = GetFirstGuidHob (&gEarlyPL011BaseAddressGuid);
67 if (Hob == NULL || GET_GUID_HOB_DATA_SIZE (Hob) != sizeof *UartBase) {
70 UartBase = GET_GUID_HOB_DATA (Hob);
|
/device/linaro/bootloader/edk2/EdkCompatibilityPkg/Foundation/Library/EdkIIGlueLib/Library/PeiPerformanceLib/ |
PerformanceLib.c | 86 EFI_HOB_GUID_TYPE *Hob;
105 // Locate the Pei Performance Log Hob.
115 // If the Performance Hob was not found, build and install one.
118 Hob = BuildGuidHob (
125 Hob = (VOID *)((UINTN)Hob - sizeof (EFI_HOB_GUID_TYPE));
128 PerfHobData = (EFI_HOB_GUID_DATA_PERFORMANCE_LOG *)(Hob+1);
|
/device/linaro/bootloader/edk2/Vlv2TbltDevicePkg/PlatformInitPei/ |
Recovery.c | 137 EFI_PEI_HOB_POINTERS Hob;
296 // Update FV Hob if found
298 Status = (*PeiServices)->GetHobList (PeiServices, &Hob.Raw);
299 HobOld.Raw = Hob.Raw;
300 while (!END_OF_HOB_LIST (Hob)) {
301 if (Hob.Header->HobType == EFI_HOB_TYPE_FV) {
302 DEBUG ((EFI_D_INFO | EFI_D_LOAD, "Hob FV Length: %x\n", Hob.FirmwareVolume->Length));
304 // BUGBUG Why is it a FV hob if it is greater than 0x50000?
306 if (Hob.FirmwareVolume->Length > 0x50000) { [all...] |
MemoryCallback.c | 68 EFI_PEI_HOB_POINTERS Hob;
81 Hob.Raw = GetFirstGuidHob (&gEfiPlatformInfoGuid);
82 ASSERT (Hob.Raw != NULL);
83 PlatformInfo = GET_GUID_HOB_DATA(Hob.Raw);
124 Install Firmware Volume Hob's once there is main memory
146 EFI_PEI_HOB_POINTERS Hob;
156 // Get Platform Info HOB
158 Hob.Raw = GetFirstGuidHob (&gEfiPlatformInfoGuid);
159 ASSERT (Hob.Raw != NULL);
160 PlatformInfo = GET_GUID_HOB_DATA(Hob.Raw); [all...] |
/device/linaro/bootloader/edk2/ArmVirtPkg/Library/ArmVirtDxeHobLib/ |
HobLib.c | 2 HOB Library implemenation for Dxe Phase with DebugLib dependency removed
34 The constructor function caches the pointer to HOB list.
36 The constructor function gets the start address of HOB list from system configuration table.
65 Returns the pointer to the HOB list.
67 This function returns the pointer to first HOB in the list.
69 to the HOB list. For the DXE phase, the HOB list pointer can be retrieved through
73 to manage the pointer to the HOB list.
75 If the pointer to the HOB list is NULL, then ASSERT().
77 @return The pointer to the HOB list. [all...] |
/device/linaro/bootloader/edk2/EdkCompatibilityPkg/Foundation/Library/EdkIIGlueLib/Library/DxeHobLib/ |
HobLib.c | 19 HOB Library.
29 The constructor function caches the pointer to HOB list.
31 The constructor function gets the start address of HOB list from system configuration table.
56 Returns the pointer to the HOB list.
58 This function returns the pointer to first HOB in the list.
60 @return The pointer to the HOB list.
73 Returns the next instance of a HOB type from the starting HOB.
75 This function searches the first instance of a HOB type from the starting HOB pointer. [all...] |
/device/linaro/bootloader/edk2/MdeModulePkg/Core/Pei/Memory/ |
MemoryServices.c | 139 EFI_PEI_HOB_POINTERS Hob;
157 Hob.Raw = PrivateData->HobList.Raw;
160 // Check if Hob already available
174 FreeMemoryTop = &(Hob.HandoffInformationTable->EfiFreeMemoryTop);
175 FreeMemoryBottom = &(Hob.HandoffInformationTable->EfiFreeMemoryBottom);
188 DEBUG ((EFI_D_ERROR, "AllocatePages failed: No space to build memory allocation hob.\n"));
211 // Create a memory allocation HOB.
248 EFI_HOB_MEMORY_POOL *Hob;
266 (VOID **)&Hob
269 *Buffer = Hob+1; [all...] |
/device/linaro/bootloader/edk2/MdePkg/Library/DxeCoreHobLib/ |
HobLib.c | 2 HOB Library implementation for DxeCore driver.
23 Returns the pointer to the HOB list.
25 This function returns the pointer to first HOB in the list.
27 to the HOB list. For the DXE phase, the HOB list pointer can be retrieved through
31 to manage the pointer to the HOB list.
33 If the pointer to the HOB list is NULL, then ASSERT().
35 @return The pointer to the HOB list.
49 Returns the next instance of a HOB type from the starting HOB. [all...] |
/device/linaro/bootloader/edk2/MdePkg/Library/PeiMemoryAllocationLib/ |
MemoryAllocationLib.c | 185 EFI_PEI_HOB_POINTERS Hob;
233 // The aligned portion is covered by the aligned mem HOB and
236 // Before mem HOB covers the region between "Memory" and "AlignedMemory"
237 // Aligned mem HOB covers the region between "AlignedMemory" and "AlignedMemory + EFI_PAGES_TO_SIZE(Pages)"
238 // After mem HOB covers the region between "AlignedMemory + EFI_PAGES_TO_SIZE(Pages)" and "Memory + EFI_PAGES_TO_SIZE(TotalPages)"
258 // Search for the mem HOB referring to the original(unaligned) allocation
261 Hob.Raw = GetFirstHob (EFI_HOB_TYPE_MEMORY_ALLOCATION);
262 while (Hob.Raw != NULL) {
263 if (Hob.MemoryAllocation->AllocDescriptor.MemoryBaseAddress == Memory) {
266 Hob.Raw = GET_NEXT_HOB (Hob); [all...] |
/device/linaro/bootloader/edk2/MdeModulePkg/Core/Pei/Dispatcher/ |
Dispatcher.c | 196 This function is to test if the memory range described in resource HOB is available or not.
199 memory before PeiLoadFixAddressHook in invoked. so this function is to test if the memory range described by the input resource HOB is
203 @param ResourceHob Pointer to a resource HOB which described the memory range described by the input resource HOB
213 EFI_PEI_HOB_POINTERS Hob;
220 // test if the memory range describe in the HOB is already allocated.
222 for (Hob.Raw = PrivateData->HobList.Raw; !END_OF_HOB_LIST(Hob); Hob.Raw = GET_NEXT_HOB(Hob)) {
[all...] |
/device/linaro/bootloader/edk2/QuarkPlatformPkg/Platform/Pei/PlatformInit/Generic/ |
Recovery.c | 143 EFI_PEI_HOB_POINTERS Hob;
278 // Update FV Hob if found
281 Status = PeiServicesGetHobList ((VOID **)&Hob.Raw);
282 while (!END_OF_HOB_LIST (Hob)) {
283 if (Hob.Header->HobType == EFI_HOB_TYPE_FV) {
284 DEBUG ((EFI_D_INFO | EFI_D_LOAD, "Hob FV Length: %x\n", Hob.FirmwareVolume->Length));
286 if (Hob.FirmwareVolume->BaseAddress == (UINTN) PcdGet32 (PcdFlashFvMainBase)) {
289 // This looks like the Hob we are interested in
291 DEBUG ((EFI_D_INFO | EFI_D_LOAD, "Hob Updated\n")); [all...] |
/device/linaro/bootloader/edk2/EdkCompatibilityPkg/Sample/Library/Dxe/WinNt/ |
WinNtLib.c | 26 #include EFI_GUID_DEFINITION (Hob)
|
/device/linaro/bootloader/edk2/MdeModulePkg/Universal/StatusCodeHandler/RuntimeDxe/ |
StatusCodeHandlerRuntimeDxe.c | 78 EFI_PEI_HOB_POINTERS Hob;
102 // Replay Status code which saved in GUID'ed HOB to all supported devices.
109 Hob.Raw = GetFirstGuidHob (&gMemoryStatusCodeRecordGuid);
110 if (Hob.Raw != NULL) {
111 PacketHeader = (MEMORY_STATUSCODE_PACKET_HEADER *) GET_GUID_HOB_DATA (Hob.Guid);
|
/device/linaro/bootloader/edk2/MdePkg/Library/PeiExtractGuidedSectionLib/ |
PeiExtractGuidedSectionLib.c | 34 Build guid hob for the global memory to store the registered guid and Handler list.
35 If GuidHob exists, HandlerInfo will be directly got from Guid hob data.
39 @retval RETURN_SUCCESS Build Guid hob for the global memory space to store guid and function tables.
48 EFI_PEI_HOB_POINTERS Hob;
51 // First try to get handler information from guid hob specified by CallerId.
53 Hob.Raw = GetNextHob (EFI_HOB_TYPE_GUID_EXTENSION, GetHobList ());
54 while (Hob.Raw != NULL) {
55 if (CompareGuid (&(Hob.Guid->Name), &gEfiCallerIdGuid)) {
56 HandlerInfo = (PEI_EXTRACT_GUIDED_SECTION_HANDLER_INFO *) GET_GUID_HOB_DATA (Hob.Guid);
59 // Update Table Pointer when hob start address is changed. [all...] |
/device/linaro/bootloader/OpenPlatformPkg/Platforms/AMD/Styx/Drivers/PlatInitDxe/ |
PlatInitDxe.c | 166 EFI_HOB_GUID_TYPE *Hob;
170 Hob = GetFirstGuidHob (&gAmdStyxMpCoreInfoGuid);
171 if (Hob == NULL) {
175 *NumEntries = GET_GUID_HOB_DATA_SIZE (Hob) / sizeof (ARM_CORE_INFO);
176 return GET_GUID_HOB_DATA (Hob);
|
/device/linaro/bootloader/edk2/EmbeddedPkg/Library/PrePiLib/ |
FwVol.c | 4 This code only knows about a FV if it has a EFI_HOB_TYPE_FV entry in the HOB list
126 EFI_PEI_HOB_POINTERS Hob;
128 Hob.Raw = GetHobList ();
129 if (Hob.Raw == NULL) {
134 Hob.Raw = GetNextHob (EFI_HOB_TYPE_FV, Hob.Raw);
135 if (Hob.Raw != NULL) {
136 FwVolHeader = (EFI_FIRMWARE_VOLUME_HEADER *)(UINTN)(Hob.FirmwareVolume->BaseAddress);
143 Hob.Raw = GetNextHob (EFI_HOB_TYPE_FV, GET_NEXT_HOB (Hob));
[all...] |
PrePiLib.c | 111 VOID *Hob;
134 Hob = GetHobList ();
138 ((DXE_CORE_ENTRY_POINT)(UINTN)EntryPoint) (Hob);
155 // Update the contents of BSP stack HOB to reflect the real stack info passed to DxeCore.
161 Hob,
|
/device/linaro/bootloader/edk2/MdeModulePkg/Library/DxeDebugPrintErrorLevelLib/ |
DxeDebugPrintErrorLevelLib.c | 95 /// discovered via a HOB so early DXE drivers can access the variable. If the
147 // executed a HOB can be used to set the global debug print error level. If no value
200 VOID *Hob;
252 // debug print error level mask from a HOB.
254 Hob = GetFirstGuidHob (&gEfiGenericVariableGuid);
255 if (Hob != NULL) {
256 if (GET_GUID_HOB_DATA_SIZE (Hob) == sizeof (UINT32)) {
257 mDebugPrintErrorLevel = *(UINT32 *)GET_GUID_HOB_DATA (Hob);
|
/device/linaro/bootloader/edk2/MdeModulePkg/Universal/CapsulePei/ |
UefiCapsule.c | 588 VOID *Hob;
593 Hob = GetFirstHob (EFI_HOB_TYPE_CPU);
594 if (Hob != NULL) {
595 PhysicalAddressBits = ((EFI_HOB_CPU *) Hob)->SizeOfMemorySpace;
619 Build memory resource descriptor from resource descriptor in HOB list.
622 NULL if no memory resource descriptor reported in HOB list
631 EFI_PEI_HOB_POINTERS Hob;
641 Hob.Raw = GetFirstHob (EFI_HOB_TYPE_RESOURCE_DESCRIPTOR);
642 while (Hob.Raw != NULL) {
643 ResourceDescriptor = (EFI_HOB_RESOURCE_DESCRIPTOR *) Hob.Raw; [all...] |
/device/linaro/bootloader/edk2/MdePkg/Library/DxeHobLib/ |
HobLib.c | 2 HOB Library implemenation for Dxe Phase.
27 The constructor function caches the pointer to HOB list.
29 The constructor function gets the start address of HOB list from system configuration table.
56 Returns the pointer to the HOB list.
58 This function returns the pointer to first HOB in the list.
60 to the HOB list. For the DXE phase, the HOB list pointer can be retrieved through
64 to manage the pointer to the HOB list.
66 If the pointer to the HOB list is NULL, then ASSERT().
68 @return The pointer to the HOB list. [all...] |
/device/linaro/bootloader/edk2/EdkCompatibilityPkg/Foundation/Library/Pei/PeiLib/ |
Perf.c | 30 // Perfomance HOB data definitions
76 EFI_HOB_GUID_TYPE *Hob;
95 // Locate the Pei Performance Log Hob.
106 // If the Performance Hob was not found, build and install one.
117 (VOID **) &Hob
121 PerfHobData = (EFI_HOB_GUID_DATA_PERFORMANCE_LOG *)(Hob+1);
|
/device/linaro/bootloader/edk2/EdkCompatibilityPkg/Foundation/Library/EdkIIGlueLib/Include/ |
EdkIIGluePeim.h | 57 #include EFI_GUID_DEFINITION (Hob)
|
/device/linaro/bootloader/edk2/IntelFrameworkModulePkg/Universal/StatusCode/RuntimeDxe/ |
StatusCodeRuntimeDxe.c | 204 EFI_PEI_HOB_POINTERS Hob;
239 // Replay Status code which saved in GUID'ed HOB to all supported devices.
246 Hob.Raw = GetFirstGuidHob (&gMemoryStatusCodeRecordGuid);
247 if (Hob.Raw != NULL) {
248 PacketHeader = (MEMORY_STATUSCODE_PACKET_HEADER *) GET_GUID_HOB_DATA (Hob.Guid);
|
/device/linaro/bootloader/edk2/IntelFsp2WrapperPkg/FspWrapperNotifyDxe/ |
FspWrapperNotifyDxe.c | 178 EFI_PEI_HOB_POINTERS Hob;
210 Hob.Raw = GetFirstGuidHob (&gFspHobGuid);
211 if (Hob.Raw != NULL) {
212 FspHobListPtr = GET_GUID_HOB_DATA (Hob.Raw);
|
/device/linaro/bootloader/edk2/MdeModulePkg/Core/Pei/ |
PeiMain.inf | 44 Hob/Hob.c
122 # [Hob]
|