/device/linaro/bootloader/edk2/CorebootPayloadPkg/Library/ResetSystemLib/ |
D | ResetSystemLib.c | 28 EFI_HOB_GUID_TYPE *GuidHob; in AcpiPmControl() local 36 GuidHob = GetFirstGuidHob (&gUefiAcpiBoardInfoGuid); in AcpiPmControl() 37 ASSERT (GuidHob != NULL); in AcpiPmControl() 38 pAcpiBoardInfo = (ACPI_BOARD_INFO *)GET_GUID_HOB_DATA (GuidHob); in AcpiPmControl() 61 EFI_HOB_GUID_TYPE *GuidHob; in ResetCold() local 67 GuidHob = GetFirstGuidHob (&gUefiAcpiBoardInfoGuid); in ResetCold() 68 ASSERT (GuidHob != NULL); in ResetCold() 69 pAcpiBoardInfo = (ACPI_BOARD_INFO *)GET_GUID_HOB_DATA (GuidHob); in ResetCold() 88 EFI_HOB_GUID_TYPE *GuidHob; in ResetWarm() local 94 GuidHob = GetFirstGuidHob (&gUefiAcpiBoardInfoGuid); in ResetWarm() [all …]
|
/device/linaro/bootloader/edk2/Vlv2TbltDevicePkg/PlatformCpuInfoDxe/ |
D | PlatformCpuInfoDxe.c | 45 EFI_PEI_HOB_POINTERS GuidHob; 50 GuidHob.Raw = GetHobList (); 51 while ((GuidHob.Raw = GetNextGuidHob (&gEfiPlatformCpuInfoGuid, GuidHob.Raw)) != NULL) { 52 PlatformCpuInfoPtr = GET_GUID_HOB_DATA (GuidHob.Guid); 53 GuidHob.Raw = GET_NEXT_HOB (GuidHob);
|
/device/linaro/bootloader/edk2/Vlv2TbltDevicePkg/Library/MultiPlatformLib/ |
D | PlatformInfoHob.c | 44 EFI_PEI_HOB_POINTERS GuidHob; in GetPlatformInfoHob() 49 GuidHob.Raw = GetHobList (); in GetPlatformInfoHob() 50 if (GuidHob.Raw == NULL) { in GetPlatformInfoHob() 54 if ((GuidHob.Raw = GetNextGuidHob (&gEfiPlatformInfoGuid, GuidHob.Raw)) != NULL) { in GetPlatformInfoHob() 55 *PlatformInfoHob = GET_GUID_HOB_DATA (GuidHob.Guid); in GetPlatformInfoHob()
|
/device/linaro/bootloader/edk2/Vlv2TbltDevicePkg/PlatformInfoDxe/ |
D | PlatformInfoDxe.c | 56 EFI_PEI_HOB_POINTERS GuidHob; in PlatformInfoInit() 108 GuidHob.Raw = GetHobList (); in PlatformInfoInit() 109 if (GuidHob.Raw != NULL) { in PlatformInfoInit() 110 if ((GuidHob.Raw = GetNextGuidHob (&gOsSelectionVariableGuid, GuidHob.Raw)) != NULL) { in PlatformInfoInit() 111 OsSlectionHobPtr = GET_GUID_HOB_DATA (GuidHob.Guid); in PlatformInfoInit() 147 GuidHob.Raw = GetHobList (); in PlatformInfoInit() 148 if (GuidHob.Raw == NULL) { in PlatformInfoInit() 152 if ((GuidHob.Raw = GetNextGuidHob (&gEfiPlatformInfoGuid, GuidHob.Raw)) != NULL) { in PlatformInfoInit() 153 PlatformInfoHobPtr = GET_GUID_HOB_DATA (GuidHob.Guid); in PlatformInfoInit()
|
/device/linaro/bootloader/edk2/Vlv2TbltDevicePkg/SaveMemoryConfig/ |
D | SaveMemoryConfig.c | 62 VOID *GuidHob; in SaveMemoryConfigEntryPoint() local 75 GuidHob = GetFirstGuidHob (&gEfiPlatformInfoGuid); in SaveMemoryConfigEntryPoint() 76 if (GuidHob == NULL) { in SaveMemoryConfigEntryPoint() 81 PlatformInfoHobPtr = GET_GUID_HOB_DATA (GuidHob); in SaveMemoryConfigEntryPoint() 86 GuidHob = GetFirstGuidHob (&gEfiPlatformBootModeGuid); in SaveMemoryConfigEntryPoint() 87 if (GuidHob == NULL) { in SaveMemoryConfigEntryPoint() 92 BootModeBuffer = GET_GUID_HOB_DATA (GuidHob); in SaveMemoryConfigEntryPoint() 157 GuidHob = GetFirstGuidHob (&gEfiMemoryConfigDataGuid); in SaveMemoryConfigEntryPoint() 158 if (GuidHob == NULL) { in SaveMemoryConfigEntryPoint() 163 MemHobData = GET_GUID_HOB_DATA (GuidHob); in SaveMemoryConfigEntryPoint() [all …]
|
/device/linaro/bootloader/edk2/EdkCompatibilityPkg/Compatibility/AcpiVariableHobOnSmramReserveHobThunk/ |
D | AcpiVariableHobOnSmramReserveHobThunk.c | 40 VOID *GuidHob; in GetSrmamHobData() local 45 GuidHob = GetFirstGuidHob (&gEfiSmmPeiSmramMemoryReserveGuid); in GetSrmamHobData() 46 if (GuidHob == NULL) { in GetSrmamHobData() 49 return (EFI_SMRAM_HOB_DESCRIPTOR_BLOCK *)GET_GUID_HOB_DATA (GuidHob); in GetSrmamHobData() 66 EFI_HOB_GUID_TYPE *GuidHob; in SplitSmramReserveHob() local 78 GuidHob = GetFirstGuidHob (&gEfiSmmPeiSmramMemoryReserveGuid); in SplitSmramReserveHob() 79 if (GuidHob == NULL) { in SplitSmramReserveHob() 83 DescriptorBlock = (EFI_SMRAM_HOB_DESCRIPTOR_BLOCK *)GET_GUID_HOB_DATA (GuidHob); in SplitSmramReserveHob() 166 ZeroMem (&GuidHob->Name, sizeof(GuidHob->Name)); in SplitSmramReserveHob()
|
/device/linaro/bootloader/edk2/QuarkPlatformPkg/Library/PlatformSecLib/ |
D | PlatformSecLib.c | 157 EFI_HOB_GUID_TYPE *GuidHob; in SecPlatformInformation() local 165 GuidHob = GetFirstGuidHob (&gEfiSecPlatformInformationPpiGuid); in SecPlatformInformation() 166 if (GuidHob != NULL) { in SecPlatformInformation() 167 Size = GET_GUID_HOB_DATA_SIZE (GuidHob); in SecPlatformInformation() 168 BIST = GET_GUID_HOB_DATA (GuidHob); in SecPlatformInformation() 188 GuidHob = GetFirstGuidHob (&gEfiSecPlatformInformationPpiGuid); in SecPlatformInformation() 189 Size = GET_GUID_HOB_DATA_SIZE (GuidHob); in SecPlatformInformation() 190 BIST = GET_GUID_HOB_DATA (GuidHob); in SecPlatformInformation()
|
/device/linaro/bootloader/edk2/CorebootModulePkg/CbSupportDxe/ |
D | CbSupportDxe.c | 134 EFI_HOB_GUID_TYPE *GuidHob; in CbDxeEntryPoint() local 155 GuidHob = GetFirstGuidHob (&gUefiSystemTableInfoGuid); in CbDxeEntryPoint() 156 ASSERT (GuidHob != NULL); in CbDxeEntryPoint() 157 pSystemTableInfo = (SYSTEM_TABLE_INFO *)GET_GUID_HOB_DATA (GuidHob); in CbDxeEntryPoint() 180 GuidHob = GetFirstGuidHob (&gUefiAcpiBoardInfoGuid); in CbDxeEntryPoint() 181 ASSERT (GuidHob != NULL); in CbDxeEntryPoint() 182 pAcpiBoardInfo = (ACPI_BOARD_INFO *)GET_GUID_HOB_DATA (GuidHob); in CbDxeEntryPoint() 190 GuidHob = GetFirstGuidHob (&gUefiFrameBufferInfoGuid); in CbDxeEntryPoint() 191 if (GuidHob != NULL) { in CbDxeEntryPoint() 192 FbInfo = (FRAME_BUFFER_INFO *)GET_GUID_HOB_DATA (GuidHob); in CbDxeEntryPoint()
|
/device/linaro/bootloader/edk2/Nt32Pkg/Library/DxeWinNtLib/ |
D | WinNtLib.c | 46 EFI_HOB_GUID_TYPE *GuidHob; in WinNtLibConstructor() local 48 GuidHob = GetFirstGuidHob (&gEfiWinNtThunkProtocolGuid); in WinNtLibConstructor() 49 ASSERT (GuidHob != NULL); in WinNtLibConstructor() 50 gWinNt = (EFI_WIN_NT_THUNK_PROTOCOL *)(*(UINTN *)(GET_GUID_HOB_DATA (GuidHob))); in WinNtLibConstructor()
|
/device/linaro/bootloader/edk2/PerformancePkg/Library/TscTimerLib/ |
D | PeiTscTimerLib.c | 46 EFI_HOB_GUID_TYPE *GuidHob; in InternalGetTscFrequency() local 53 GuidHob = GetFirstGuidHob (&gEfiTscFrequencyGuid); in InternalGetTscFrequency() 54 if (GuidHob != NULL) { in InternalGetTscFrequency() 55 DataInHob = GET_GUID_HOB_DATA (GuidHob); in InternalGetTscFrequency()
|
/device/linaro/bootloader/edk2/QuarkPlatformPkg/Platform/Dxe/SaveMemoryConfig/ |
D | SaveMemoryConfig.c | 53 EFI_HOB_GUID_TYPE *GuidHob; in SaveMemoryConfigEntryPoint() local 61 GuidHob = NULL; in SaveMemoryConfigEntryPoint() 76 GuidHob = GetNextGuidHob (&gEfiMemoryConfigDataGuid, HobList); in SaveMemoryConfigEntryPoint() 77 if (GuidHob != NULL) { in SaveMemoryConfigEntryPoint() 78 HobData = GET_GUID_HOB_DATA (GuidHob); in SaveMemoryConfigEntryPoint() 79 DataSize = GET_GUID_HOB_DATA_SIZE (GuidHob); in SaveMemoryConfigEntryPoint()
|
/device/linaro/bootloader/edk2/EmbeddedPkg/Library/PrePiLib/ |
D | PrePi.h | 43 #define GET_GUID_HOB_DATA(GuidHob) ((VOID *) (((UINT8 *) &((GuidHob)->Name)) + sizeof (EFI_GUI… argument 44 #define GET_GUID_HOB_DATA_SIZE(GuidHob) (((GuidHob)->Header).HobLength - sizeof (EFI_HOB_GUID_TYPE)) argument
|
/device/linaro/bootloader/edk2/EdkCompatibilityPkg/Foundation/Library/Dxe/EfiDriverLib/ |
D | ReportStatusCode.c | 72 EFI_PEI_HOB_POINTERS GuidHob; in GetPeiProtocol() local 77 Status = EfiLibGetSystemConfigurationTable (&gEfiHobListGuid, (VOID **) &GuidHob.Raw); in GetPeiProtocol() 83 if (END_OF_HOB_LIST (GuidHob)) { in GetPeiProtocol() 88 if (GET_HOB_TYPE (GuidHob) == EFI_HOB_TYPE_GUID_EXTENSION) { in GetPeiProtocol() 89 if (EfiCompareGuid (ProtocolGuid, &GuidHob.Guid->Name)) { in GetPeiProtocol() 91 *Interface = (VOID *) *(UINTN *) (GuidHob.Guid + 1); in GetPeiProtocol() 95 GuidHob.Raw = GET_NEXT_HOB (GuidHob); in GetPeiProtocol()
|
/device/linaro/bootloader/edk2/EdkCompatibilityPkg/Foundation/Library/Pei/Hob/ |
D | PeiHobLib.c | 577 EFI_PEI_HOB_POINTERS GuidHob; in GetFirstGuidHob() local 579 GuidHob.Raw = *HobStart; in GetFirstGuidHob() 583 if (END_OF_HOB_LIST (GuidHob)) { in GetFirstGuidHob() 587 if (GuidHob.Header->HobType == EFI_HOB_TYPE_GUID_EXTENSION) { in GetFirstGuidHob() 588 if ( ((INT32 *)Guid)[0] == ((INT32 *)&GuidHob.Guid->Name)[0] && in GetFirstGuidHob() 589 ((INT32 *)Guid)[1] == ((INT32 *)&GuidHob.Guid->Name)[1] && in GetFirstGuidHob() 590 ((INT32 *)Guid)[2] == ((INT32 *)&GuidHob.Guid->Name)[2] && in GetFirstGuidHob() 591 ((INT32 *)Guid)[3] == ((INT32 *)&GuidHob.Guid->Name)[3] ) { in GetFirstGuidHob() 593 *Buffer = (VOID *)((UINT8 *)(&GuidHob.Guid->Name) + sizeof (EFI_GUID)); in GetFirstGuidHob() 595 *BufferSize = GuidHob.Header->HobLength - sizeof (EFI_HOB_GUID_TYPE); in GetFirstGuidHob() [all …]
|
/device/linaro/bootloader/edk2/EmulatorPkg/Library/DxeEmuPeCoffExtraActionLib/ |
D | DxeEmuPeCoffExtraActionLib.c | 49 EFI_HOB_GUID_TYPE *GuidHob; in DxeEmuPeCoffLibExtraActionConstructor() local 54 GuidHob = GetFirstGuidHob (&gEmuThunkProtocolGuid); in DxeEmuPeCoffLibExtraActionConstructor() 55 ASSERT (GuidHob != NULL); in DxeEmuPeCoffLibExtraActionConstructor() 56 mThunk = (EMU_THUNK_PROTOCOL *)(*(UINTN *)(GET_GUID_HOB_DATA (GuidHob))); in DxeEmuPeCoffLibExtraActionConstructor()
|
/device/linaro/bootloader/edk2/Vlv2TbltDevicePkg/SmBiosMiscDxe/ |
D | MiscSubclassDriverEntryPoint.c | 135 EFI_PEI_HOB_POINTERS GuidHob; in MiscSubclassDriverEntryPoint() 139 GuidHob.Raw = GetHobList (); in MiscSubclassDriverEntryPoint() 140 if (GuidHob.Raw != NULL) { in MiscSubclassDriverEntryPoint() 141 if ((GuidHob.Raw = GetNextGuidHob (&gEfiPlatformInfoGuid, GuidHob.Raw)) != NULL) { in MiscSubclassDriverEntryPoint() 142 mPlatformInfo = GET_GUID_HOB_DATA (GuidHob.Guid); in MiscSubclassDriverEntryPoint()
|
/device/linaro/bootloader/edk2/EmulatorPkg/Library/DxeEmuLib/ |
D | DxeEmuLib.c | 41 EFI_HOB_GUID_TYPE *GuidHob; in DxeEmuLibConstructor() local 43 GuidHob = GetFirstGuidHob (&gEmuThunkProtocolGuid); in DxeEmuLibConstructor() 44 ASSERT (GuidHob != NULL); in DxeEmuLibConstructor() 46 gEmuThunk = (EMU_THUNK_PROTOCOL *)(*(UINTN *)(GET_GUID_HOB_DATA (GuidHob))); in DxeEmuLibConstructor()
|
/device/linaro/bootloader/edk2/OvmfPkg/Library/XenHypercallLib/ |
D | X86XenHypercall.c | 63 EFI_HOB_GUID_TYPE *GuidHob; in XenHypercallLibInit() local 66 GuidHob = GetFirstGuidHob (&gEfiXenInfoGuid); in XenHypercallLibInit() 67 if (GuidHob == NULL) { in XenHypercallLibInit() 76 XenInfo = (EFI_XEN_INFO *) GET_GUID_HOB_DATA (GuidHob); in XenHypercallLibInit()
|
/device/linaro/bootloader/edk2/EdkCompatibilityPkg/Foundation/Library/EdkIIGlueLib/Library/DxeHobLib/ |
D | HobLib.c | 161 EFI_PEI_HOB_POINTERS GuidHob; in GlueGetNextGuidHob() local 163 GuidHob.Raw = (UINT8 *) HobStart; in GlueGetNextGuidHob() 164 while ((GuidHob.Raw = GetNextHob (EFI_HOB_TYPE_GUID_EXTENSION, GuidHob.Raw)) != NULL) { in GlueGetNextGuidHob() 165 if (CompareGuid (Guid, &GuidHob.Guid->Name)) { in GlueGetNextGuidHob() 168 GuidHob.Raw = GET_NEXT_HOB (GuidHob); in GlueGetNextGuidHob() 170 return GuidHob.Raw; in GlueGetNextGuidHob()
|
/device/linaro/bootloader/edk2/MdePkg/Library/DxeCoreHobLib/ |
D | HobLib.c | 143 EFI_PEI_HOB_POINTERS GuidHob; in GetNextGuidHob() local 145 GuidHob.Raw = (UINT8 *) HobStart; in GetNextGuidHob() 146 while ((GuidHob.Raw = GetNextHob (EFI_HOB_TYPE_GUID_EXTENSION, GuidHob.Raw)) != NULL) { in GetNextGuidHob() 147 if (CompareGuid (Guid, &GuidHob.Guid->Name)) { in GetNextGuidHob() 150 GuidHob.Raw = GET_NEXT_HOB (GuidHob); in GetNextGuidHob() 152 return GuidHob.Raw; in GetNextGuidHob()
|
/device/linaro/bootloader/edk2/ArmVirtPkg/Library/ArmVirtDxeHobLib/ |
D | HobLib.c | 185 EFI_PEI_HOB_POINTERS GuidHob; in GetNextGuidHob() local 187 GuidHob.Raw = (UINT8 *) HobStart; in GetNextGuidHob() 188 while ((GuidHob.Raw = GetNextHob (EFI_HOB_TYPE_GUID_EXTENSION, GuidHob.Raw)) != NULL) { in GetNextGuidHob() 189 if (CompareGuid (Guid, &GuidHob.Guid->Name)) { in GetNextGuidHob() 192 GuidHob.Raw = GET_NEXT_HOB (GuidHob); in GetNextGuidHob() 194 return GuidHob.Raw; in GetNextGuidHob()
|
/device/linaro/bootloader/edk2/MdePkg/Library/DxeHobLib/ |
D | HobLib.c | 176 EFI_PEI_HOB_POINTERS GuidHob; in GetNextGuidHob() local 178 GuidHob.Raw = (UINT8 *) HobStart; in GetNextGuidHob() 179 while ((GuidHob.Raw = GetNextHob (EFI_HOB_TYPE_GUID_EXTENSION, GuidHob.Raw)) != NULL) { in GetNextGuidHob() 180 if (CompareGuid (Guid, &GuidHob.Guid->Name)) { in GetNextGuidHob() 183 GuidHob.Raw = GET_NEXT_HOB (GuidHob); in GetNextGuidHob() 185 return GuidHob.Raw; in GetNextGuidHob()
|
/device/linaro/bootloader/edk2/IntelFsp2WrapperPkg/FspsWrapperPeim/ |
D | FspsWrapperPeim.c | 176 EFI_HOB_GUID_TYPE *GuidHob; in FspSiliconInitDoneGetFspHobList() local 178 GuidHob = GetFirstGuidHob (&gFspHobGuid); in FspSiliconInitDoneGetFspHobList() 179 if (GuidHob != NULL) { in FspSiliconInitDoneGetFspHobList() 180 *FspHobList = *(VOID **)GET_GUID_HOB_DATA(GuidHob); in FspSiliconInitDoneGetFspHobList() 233 EFI_HOB_GUID_TYPE *GuidHob; in PeiMemoryDiscoveredNotify() local 284 GuidHob = GetFirstGuidHob (&gFspHobGuid); in PeiMemoryDiscoveredNotify() 285 ASSERT (GuidHob != NULL); in PeiMemoryDiscoveredNotify() 286 FspHobListPtr = *(VOID **)GET_GUID_HOB_DATA (GuidHob); in PeiMemoryDiscoveredNotify()
|
/device/linaro/bootloader/edk2/EdkCompatibilityPkg/Foundation/Library/EdkIIGlueLib/Include/Common/ |
D | EdkIIGlueDefinitionChangesBase.h | 48 #define GET_GUID_HOB_DATA(GuidHob) ((VOID *) (((UINT8 *) &((GuidHob)->Name)) + sizeof (EFI_GUI… argument 49 #define GET_GUID_HOB_DATA_SIZE(GuidHob) (((GuidHob)->Header).HobLength - sizeof (EFI_HOB_GUID_TYPE)) argument
|
/device/linaro/bootloader/edk2/UefiCpuPkg/CpuDxe/ |
D | CpuMp.c | 533 EFI_HOB_GUID_TYPE *GuidHob; in CollectBistDataFromHob() local 550 GuidHob = GetFirstGuidHob (&gEfiSecPlatformInformation2PpiGuid); in CollectBistDataFromHob() 551 if (GuidHob != NULL) { in CollectBistDataFromHob() 555 SecPlatformInformation2 = GET_GUID_HOB_DATA (GuidHob); in CollectBistDataFromHob() 562 GuidHob = GetFirstGuidHob (&gEfiSecPlatformInformationPpiGuid); in CollectBistDataFromHob() 563 if (GuidHob != NULL) { in CollectBistDataFromHob() 564 SecPlatformInformation = GET_GUID_HOB_DATA (GuidHob); in CollectBistDataFromHob()
|