/device/linaro/bootloader/edk2/ShellPkg/Library/UefiShellDebug1CommandsLib/SmbiosView/ |
D | LibSmbiosView.c | 64 mSmbiosStruct->Raw = (UINT8 *) (UINTN) (mSmbiosTable->TableAddress); in LibSmbiosInit() 104 mSmbios64BitStruct->Raw = (UINT8 *) (UINTN) (mSmbios64BitTable->TableAddress); in LibSmbios64BitInit() 201 String = (CHAR8 *) (Smbios->Raw + Smbios->Hdr->Length); in LibGetSmbiosString() 222 Smbios->Raw = (UINT8 *)++String; in LibGetSmbiosString() 255 UINT8 *Raw; in LibGetSmbiosStructure() local 269 SmbiosEnd.Raw = Smbios.Raw + mSmbiosTable->TableLength; in LibGetSmbiosStructure() 270 while (Smbios.Raw < SmbiosEnd.Raw) { in LibGetSmbiosStructure() 272 Raw = Smbios.Raw; in LibGetSmbiosStructure() 280 *Length = (UINT16) (Smbios.Raw - Raw); in LibGetSmbiosStructure() 281 *Buffer = Raw; in LibGetSmbiosStructure() [all …]
|
/device/linaro/bootloader/edk2/EdkCompatibilityPkg/Foundation/Library/Pei/Hob/ |
D | PeiHobLib.c | 52 Hob.Raw = HobStart; in BuildHobEndOfHobList() 102 HandOffHob.Raw = HobStart; in BuildHobHandoffInfoTable() 103 Hob.Raw = HobStart; in BuildHobHandoffInfoTable() 115 HobEnd.Raw = (VOID*)(Hob.HandoffInformationTable + 1); in BuildHobHandoffInfoTable() 116 Hob.HandoffInformationTable->EfiEndOfHobList = (EFI_PHYSICAL_ADDRESS) (UINTN) HobEnd.Raw; in BuildHobHandoffInfoTable() 117 Hob = BuildHobEndOfHobList (HobEnd.Raw); in BuildHobHandoffInfoTable() 118 HandOffHob.HandoffInformationTable->EfiFreeMemoryBottom = (EFI_PHYSICAL_ADDRESS) (UINTN) Hob.Raw; in BuildHobHandoffInfoTable() 160 HandOffHob.Raw = HobStart; in BuildHobModule() 161 Hob.Raw = (VOID*)(UINTN)(HandOffHob.HandoffInformationTable->EfiEndOfHobList); in BuildHobModule() 175 HandOffHob.HandoffInformationTable->EfiEndOfHobList = (EFI_PHYSICAL_ADDRESS) (UINTN) Hob.Raw; in BuildHobModule() [all …]
|
/device/linaro/bootloader/edk2/EdkCompatibilityPkg/Foundation/Library/Dxe/Hob/ |
D | Hob.c | 53 Hob.Raw = HobStart; in GetHob() 70 Hob.Raw = GET_NEXT_HOB (Hob); in GetHob() 80 return (VOID *) (Hob.Raw); in GetHob() 106 Hob.Raw = HobStart; in GetHobListSize() 111 Hob.Raw += Hob.Header->HobLength; in GetHobListSize() 141 Hob.Raw = HobStart; in GetHobVersion() 172 Hob.Raw = HobStart; in GetHobBootMode() 211 CpuHob.Raw = HobStart; in GetCpuHobInfo() 212 CpuHob.Raw = GetHob (EFI_HOB_TYPE_CPU, CpuHob.Raw); in GetCpuHobInfo() 254 DxeCoreHob.Raw = HobStart; in GetDxeCoreHobInfo() [all …]
|
/device/linaro/bootloader/edk2/MdeModulePkg/Universal/ReportStatusCodeRouter/Pei/ |
D | ReportStatusCodeRouterPei.c | 105 Hob.Raw = GetFirstGuidHob (&gStatusCodeCallbackGuid); in Register() 108 while (Hob.Raw != NULL) { in Register() 135 Hob.Raw = GET_NEXT_HOB (Hob); in Register() 136 Hob.Raw = GetNextGuidHob (&gStatusCodeCallbackGuid, Hob.Raw); in Register() 185 Hob.Raw = GetFirstGuidHob (&gStatusCodeCallbackGuid); in Unregister() 186 while (Hob.Raw != NULL) { in Unregister() 198 Hob.Raw = GET_NEXT_HOB (Hob); in Unregister() 199 Hob.Raw = GetNextGuidHob (&gStatusCodeCallbackGuid, Hob.Raw); in Unregister() 247 Hob.Raw = GetFirstGuidHob (&gStatusCodeCallbackGuid); in ReportDispatcher() 248 while (Hob.Raw != NULL) { in ReportDispatcher() [all …]
|
/device/linaro/bootloader/edk2/EdkCompatibilityPkg/Foundation/Library/Pei/PeiLib/ |
D | FindFv.c | 56 Hob.Raw = HobStart; in FindFvGetHob() 73 Hob.Raw = GET_NEXT_HOB (Hob); in FindFvGetHob() 83 return (VOID *) (Hob.Raw); in FindFvGetHob() 129 Hob.Raw = NULL; in FindFv() 137 (VOID **) &HobStart.Raw in FindFv() 150 Hob.Raw = FindFvGetHob (EFI_HOB_TYPE_FV, HobStart.Raw); in FindFv() 162 HobStart.Raw = Hob.Raw + Hob.Header->HobLength; in FindFv()
|
/device/linaro/bootloader/edk2/DuetPkg/SmbiosGenDxe/ |
D | SmbiosGen.c | 33 GuidHob.Raw = GetFirstGuidHob (&gEfiSmbiosTableGuid); in GetSmbiosTablesFromHob() 34 if (GuidHob.Raw != NULL) { in GetSmbiosTablesFromHob() 59 if (SmbiosTable.Raw == NULL) { in InstallProcessorSmbios() 105 if (SmbiosTable.Raw == NULL) { in InstallMemorySmbios() 131 if (SmbiosTable.Raw == NULL) { in InstallMiscSmbios() 161 if (SmbiosTable.Raw == NULL) { in InstallMiscSmbios() 242 AChar = (CHAR8 *)(SmbiosTable.Raw + SmbiosTable.Hdr->Length); in SmbiosTableLength() 246 Length = ((UINTN)AChar - (UINTN)SmbiosTable.Raw + 2); in SmbiosTableLength() 262 SmbiosTable.Raw = (UINT8 *)(UINTN)Smbios->TableAddress; in GetSmbiosTableFromType() 263 if (SmbiosTable.Raw == NULL) { in GetSmbiosTableFromType() [all …]
|
/device/linaro/bootloader/edk2/Vlv2TbltDevicePkg/PlatformInfoDxe/ |
D | PlatformInfoDxe.c | 108 GuidHob.Raw = GetHobList (); in PlatformInfoInit() 109 if (GuidHob.Raw != NULL) { in PlatformInfoInit() 110 if ((GuidHob.Raw = GetNextGuidHob (&gOsSelectionVariableGuid, GuidHob.Raw)) != NULL) { 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()
|
/device/linaro/bootloader/edk2/OvmfPkg/SmbiosPlatformDxe/ |
D | SmbiosPlatformDxe.c | 81 AChar = (CHAR8 *)(SmbiosTable.Raw + SmbiosTable.Hdr->Length); in SmbiosTableLength() 89 Length = ((UINTN)AChar - (UINTN)SmbiosTable.Raw + 2); in SmbiosTableLength() 113 SmbiosTable.Raw = TableAddress; in InstallAllStructures() 114 if (SmbiosTable.Raw == NULL) { in InstallAllStructures() 129 (EFI_SMBIOS_TABLE_HEADER*) SmbiosTable.Raw in InstallAllStructures() 140 SmbiosTable.Raw = (UINT8 *)(SmbiosTable.Raw + SmbiosTableLength (SmbiosTable)); in InstallAllStructures()
|
/device/linaro/bootloader/edk2/Vlv2TbltDevicePkg/Library/MultiPlatformLib/ |
D | PlatformInfoHob.c | 49 GuidHob.Raw = GetHobList (); in GetPlatformInfoHob() 50 if (GuidHob.Raw == NULL) { in GetPlatformInfoHob() 54 if ((GuidHob.Raw = GetNextGuidHob (&gEfiPlatformInfoGuid, GuidHob.Raw)) != NULL) { in GetPlatformInfoHob()
|
/device/linaro/bootloader/edk2/ArmPlatformPkg/MemoryInitPei/ |
D | MemoryInitPeiLib.c | 102 NextHob.Raw = GetHobList (); in MemoryPeim() 103 while ((NextHob.Raw = GetNextHob (EFI_HOB_TYPE_RESOURCE_DESCRIPTOR, NextHob.Raw)) != NULL) { in MemoryPeim() 111 NextHob.Raw = GET_NEXT_HOB (NextHob); in MemoryPeim() 137 NextHob.Raw = GetHobList (); in MemoryPeim() 138 while ((NextHob.Raw = GetNextHob (EFI_HOB_TYPE_RESOURCE_DESCRIPTOR, NextHob.Raw)) != NULL) { in MemoryPeim() 183 NextHob.Raw = GET_NEXT_HOB (NextHob); in MemoryPeim()
|
/device/linaro/bootloader/edk2/Vlv2TbltDevicePkg/PlatformCpuInfoDxe/ |
D | PlatformCpuInfoDxe.c | 50 GuidHob.Raw = GetHobList (); 51 while ((GuidHob.Raw = GetNextGuidHob (&gEfiPlatformCpuInfoGuid, GuidHob.Raw)) != NULL) { 53 GuidHob.Raw = GET_NEXT_HOB (GuidHob);
|
/device/linaro/bootloader/edk2/IntelFrameworkModulePkg/Universal/BdsDxe/ |
D | Capsules.c | 78 HobPointer.Raw = GetHobList (); in BdsProcessCapsules() 79 while ((HobPointer.Raw = GetNextHob (EFI_HOB_TYPE_UEFI_CAPSULE, HobPointer.Raw)) != NULL) { in BdsProcessCapsules() 81 HobPointer.Raw = GET_NEXT_HOB (HobPointer); in BdsProcessCapsules() 109 HobPointer.Raw = GetHobList (); in BdsProcessCapsules() 110 while ((HobPointer.Raw = GetNextHob (EFI_HOB_TYPE_UEFI_CAPSULE, HobPointer.Raw)) != NULL) { in BdsProcessCapsules() 112 HobPointer.Raw = GET_NEXT_HOB (HobPointer); in BdsProcessCapsules()
|
/device/linaro/bootloader/edk2/EdkCompatibilityPkg/Compatibility/AcpiVariableHobOnSmramReserveHobThunk/ |
D | AcpiVariableHobOnSmramReserveHobThunk.c | 92 Hob.Raw = BuildGuidHob ( in SplitSmramReserveHob() 96 ASSERT (Hob.Raw); in SplitSmramReserveHob() 97 NewDescriptorBlock = (EFI_SMRAM_HOB_DESCRIPTOR_BLOCK *)Hob.Raw; in SplitSmramReserveHob() 102 CopyMem ((VOID *)Hob.Raw, DescriptorBlock, BufferSize - sizeof(EFI_SMRAM_DESCRIPTOR)); in SplitSmramReserveHob() 197 Hob.Raw = BuildGuidHob ( in CreateAcpiVariableHob() 201 ASSERT (Hob.Raw); in CreateAcpiVariableHob() 209 …CopyMem ((VOID *)Hob.Raw, &DescriptorBlock->Descriptor[SmramRanges - 2], sizeof (EFI_SMRAM_DESCRIP… in CreateAcpiVariableHob()
|
/device/linaro/bootloader/edk2/EdkCompatibilityPkg/Foundation/Library/EdkIIGlueLib/Library/DxeHobLib/ |
D | HobLib.c | 99 Hob.Raw = (UINT8 *) HobStart; in GetNextHob() 105 return Hob.Raw; in GetNextHob() 107 Hob.Raw = GET_NEXT_HOB (Hob); in GetNextHob() 163 GuidHob.Raw = (UINT8 *) HobStart; in GlueGetNextGuidHob() 164 while ((GuidHob.Raw = GetNextHob (EFI_HOB_TYPE_GUID_EXTENSION, GuidHob.Raw)) != NULL) { 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 | 76 Hob.Raw = (UINT8 *) HobStart; in GetNextHob() 82 return Hob.Raw; in GetNextHob() 84 Hob.Raw = GET_NEXT_HOB (Hob); in GetNextHob() 145 GuidHob.Raw = (UINT8 *) HobStart; in GetNextGuidHob() 146 while ((GuidHob.Raw = GetNextHob (EFI_HOB_TYPE_GUID_EXTENSION, GuidHob.Raw)) != NULL) { 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 | 118 Hob.Raw = (UINT8 *) HobStart; in GetNextHob() 124 return Hob.Raw; in GetNextHob() 126 Hob.Raw = GET_NEXT_HOB (Hob); in GetNextHob() 187 GuidHob.Raw = (UINT8 *) HobStart; in GetNextGuidHob() 188 while ((GuidHob.Raw = GetNextHob (EFI_HOB_TYPE_GUID_EXTENSION, GuidHob.Raw)) != NULL) { in GetNextGuidHob() 192 GuidHob.Raw = GET_NEXT_HOB (GuidHob); in GetNextGuidHob() 194 return GuidHob.Raw; in GetNextGuidHob()
|
/device/linaro/bootloader/edk2/IntelFrameworkModulePkg/Universal/Acpi/AcpiS3SaveDxe/ |
D | AcpiVariableThunkPlatform.c | 98 Hob.Raw = GetFirstHob (EFI_HOB_TYPE_RESOURCE_DESCRIPTOR); in S3ReadyThunkPlatform() 99 ASSERT (Hob.Raw != NULL); in S3ReadyThunkPlatform() 100 while ((Hob.Raw != NULL) && (!END_OF_HOB_LIST (Hob))) { in S3ReadyThunkPlatform() 109 Hob.Raw = GET_NEXT_HOB (Hob); in S3ReadyThunkPlatform() 110 Hob.Raw = GetNextHob (EFI_HOB_TYPE_RESOURCE_DESCRIPTOR, Hob.Raw); in S3ReadyThunkPlatform()
|
/device/linaro/bootloader/edk2/IntelFsp2WrapperPkg/Library/PeiFspWrapperHobProcessLibSample/ |
D | FspWrapperHobProcessLibSample.c | 56 …tatus = (*PeiServices)->GetHobList ((CONST EFI_PEI_SERVICES**)PeiServices, (VOID **) &Hob.Raw); in GetMemorySizeInMemoryTypeInformation() 61 …MemoryData = (EFI_MEMORY_TYPE_INFORMATION *) (Hob.Raw + sizeof (EFI_HOB_GENERIC_HEADER) + sizeof (… in GetMemorySizeInMemoryTypeInformation() 65 Hob.Raw = GET_NEXT_HOB (Hob); in GetMemorySizeInMemoryTypeInformation() 180 Hob.Raw = (UINT8 *)(UINTN)FspHobList; in PostFspmHobProcess() 183 while ((Hob.Raw = GetNextHob (EFI_HOB_TYPE_RESOURCE_DESCRIPTOR, Hob.Raw)) != NULL) { in PostFspmHobProcess() 197 Hob.Raw = GET_NEXT_HOB (Hob); in PostFspmHobProcess() 221 Hob.Raw = GET_NEXT_HOB (Hob); in PostFspmHobProcess() 352 FspHob.Raw = FspHobList; in ProcessFspHobList() 370 FspHob.Raw = GET_NEXT_HOB (FspHob); in ProcessFspHobList()
|
/device/linaro/bootloader/edk2/EmbeddedPkg/Library/PrePiLib/ |
D | FwVol.c | 128 Hob.Raw = GetHobList (); in FileHandleToVolume() 129 if (Hob.Raw == NULL) { in FileHandleToVolume() 134 Hob.Raw = GetNextHob (EFI_HOB_TYPE_FV, Hob.Raw); in FileHandleToVolume() 135 if (Hob.Raw != NULL) { in FileHandleToVolume() 143 Hob.Raw = GetNextHob (EFI_HOB_TYPE_FV, GET_NEXT_HOB (Hob)); in FileHandleToVolume() 145 } while (Hob.Raw != NULL); in FileHandleToVolume() 511 Hob.Raw = GetHobList (); in FfsFindNextVolume() 512 if (Hob.Raw == NULL) { in FfsFindNextVolume() 517 Hob.Raw = GetNextHob (EFI_HOB_TYPE_FV, Hob.Raw); in FfsFindNextVolume() 518 if (Hob.Raw != NULL) { in FfsFindNextVolume() [all …]
|
/device/linaro/bootloader/edk2/MdePkg/Library/DxeHobLib/ |
D | HobLib.c | 109 Hob.Raw = (UINT8 *) HobStart; in GetNextHob() 115 return Hob.Raw; in GetNextHob() 117 Hob.Raw = GET_NEXT_HOB (Hob); in GetNextHob() 178 GuidHob.Raw = (UINT8 *) HobStart; in GetNextGuidHob() 179 while ((GuidHob.Raw = GetNextHob (EFI_HOB_TYPE_GUID_EXTENSION, GuidHob.Raw)) != NULL) { in GetNextGuidHob() 183 GuidHob.Raw = GET_NEXT_HOB (GuidHob); in GetNextGuidHob() 185 return GuidHob.Raw; in GetNextGuidHob()
|
/device/linaro/bootloader/edk2/IntelFspWrapperPkg/Library/PeiFspHobProcessLibSample/ |
D | FspHobProcessLibSample.c | 55 (*PeiServices)->GetHobList ((CONST EFI_PEI_SERVICES**)PeiServices, (VOID **) &Hob.Raw); in GetMemorySizeInMemoryTypeInformation() 59 …MemoryData = (EFI_MEMORY_TYPE_INFORMATION *) (Hob.Raw + sizeof (EFI_HOB_GENERIC_HEADER) + sizeof (… in GetMemorySizeInMemoryTypeInformation() 63 Hob.Raw = GET_NEXT_HOB (Hob); in GetMemorySizeInMemoryTypeInformation() 178 Hob.Raw = (UINT8 *)(UINTN)FspHobList; in FspHobProcessForMemoryResource() 181 while ((Hob.Raw = GetNextHob (EFI_HOB_TYPE_RESOURCE_DESCRIPTOR, Hob.Raw)) != NULL) { in FspHobProcessForMemoryResource() 195 Hob.Raw = GET_NEXT_HOB (Hob); in FspHobProcessForMemoryResource() 219 Hob.Raw = GET_NEXT_HOB (Hob); in FspHobProcessForMemoryResource() 350 FspHob.Raw = FspHobList; in ProcessFspHobList() 368 FspHob.Raw = GET_NEXT_HOB (FspHob); in ProcessFspHobList()
|
/device/linaro/bootloader/OpenPlatformPkg/Chips/Hisilicon/Library/ArmPlatformLibHisilicon/ |
D | ArmPlatformLibMem.c | 70 NextHob.Raw = GetHobList (); in ArmPlatformGetVirtualMemoryMap() 71 while ((NextHob.Raw = GetNextHob (EFI_HOB_TYPE_RESOURCE_DESCRIPTOR, NextHob.Raw)) != NULL) in ArmPlatformGetVirtualMemoryMap() 84 NextHob.Raw = GET_NEXT_HOB (NextHob); in ArmPlatformGetVirtualMemoryMap()
|
/device/linaro/bootloader/edk2/MdeModulePkg/Core/Pei/Dispatcher/ |
D | Dispatcher.c | 222 for (Hob.Raw = PrivateData->HobList.Raw; !END_OF_HOB_LIST(Hob); Hob.Raw = GET_NEXT_HOB(Hob)) { in PeiLoadFixAddressIsMemoryRangeAvailable() 276 CurrentHob.Raw = PrivateData->HobList.Raw; in PeiLoadFixAddressHook() 296 for (Hob.Raw = PrivateData->HobList.Raw; !END_OF_HOB_LIST(Hob); Hob.Raw = GET_NEXT_HOB(Hob)) { in PeiLoadFixAddressHook() 311 …for (NextHob.Raw = PrivateData->HobList.Raw; !END_OF_HOB_LIST(NextHob); NextHob.Raw = GET_NEXT_HOB… in PeiLoadFixAddressHook() 312 if (NextHob.Raw == Hob.Raw){ in PeiLoadFixAddressHook() 361 for (Hob.Raw = PrivateData->HobList.Raw; !END_OF_HOB_LIST(Hob); Hob.Raw = GET_NEXT_HOB(Hob)) { in PeiLoadFixAddressHook() 367 …for (NextHob.Raw = PrivateData->HobList.Raw; !END_OF_HOB_LIST(NextHob); NextHob.Raw = GET_NEXT_HOB… in PeiLoadFixAddressHook() 431 for (Hob.Raw = PrivateData->HobList.Raw; !END_OF_HOB_LIST(Hob); Hob.Raw = GET_NEXT_HOB(Hob)) { in PeiLoadFixAddressHook() 465 for (Hob.Raw = PrivateData->HobList.Raw; !END_OF_HOB_LIST(Hob); Hob.Raw = GET_NEXT_HOB(Hob)) { in PeiLoadFixAddressHook() 503 for (Hob.Raw = PrivateData->HobList.Raw; !END_OF_HOB_LIST(Hob); Hob.Raw = GET_NEXT_HOB(Hob)) { in PeiLoadFixAddressHook() [all …]
|
/device/linaro/bootloader/edk2/IntelFsp2Pkg/Library/BaseFspPlatformLib/ |
D | FspPlatformMemory.c | 42 Hob.Raw = GetHobList (); in FspGetResourceDescriptorByOwner() 54 Hob.Raw = GET_NEXT_HOB (Hob); in FspGetResourceDescriptorByOwner() 99 Hob.Raw = GetHobList (); in FspGetSystemMemorySize() 120 Hob.Raw = GET_NEXT_HOB (Hob); in FspGetSystemMemorySize()
|
/device/linaro/bootloader/edk2/EmulatorPkg/PlatformSmbiosDxe/ |
D | PlatformSmbiosDxe.c | 65 HobPtr.Raw = GetHobList (); in CreatePlatformSmbiosMemoryRecords() 66 while ((HobPtr.Raw = GetNextHob (EFI_HOB_TYPE_RESOURCE_DESCRIPTOR, HobPtr.Raw)) != NULL) { in CreatePlatformSmbiosMemoryRecords() 75 HobPtr.Raw = GET_NEXT_HOB (HobPtr); in CreatePlatformSmbiosMemoryRecords()
|