43 return (VOID *)HandoffTable;
70 ASSERT (HobList !=
NULL);
72 if (GuidHob !=
NULL) {
73 return GET_GUID_HOB_DATA (GuidHob);
100 if (MemoryMapInfo ==
NULL) {
105 for (Idx = 0; Idx < MemoryMapInfo->Count; Idx++) {
130 if (TableInfo ==
NULL) {
135 SmbiosTable->SmBiosEntryPoint = TableInfo->SmBiosEntryPoint;
158 if (TableInfo ==
NULL) {
163 AcpiTableHob->Rsdp = TableInfo->Rsdp;
186 if (BlSerialInfo ==
NULL) {
214 if (BlGfxInfo ==
NULL) {
241 if (BlGfxDeviceInfo ==
NULL) {
264 RETURN_STATUS Status;
270 &gUniversalPayloadPciRootBridgeInfoGuid
272 if (BlRootBridgesHob !=
NULL) {
277 &gUniversalPayloadPciRootBridgeInfoGuid,
278 BlRootBridgesHob->Header.Length
280 ASSERT (PldRootBridgesHob !=
NULL);
281 if (PldRootBridgesHob !=
NULL) {
282 CopyMem (PldRootBridgesHob, BlRootBridgesHob, BlRootBridgesHob->Header.Length);
283 DEBUG ((DEBUG_INFO,
"Create PCI root bridge info guid hob\n"));
VOID *EFIAPI BuildGuidHob(IN CONST EFI_GUID *Guid, IN UINTN DataLength)
VOID *EFIAPI GetNextGuidHob(IN CONST EFI_GUID *Guid, IN CONST VOID *HobStart)
VOID *EFIAPI CopyMem(OUT VOID *DestinationBuffer, IN CONST VOID *SourceBuffer, IN UINTN Length)
#define RETURN_OUT_OF_RESOURCES
#define DEBUG(Expression)
EFI_GUID gLoaderMemoryMapInfoGuid
RETURN_STATUS EFIAPI ParseSmbiosTable(OUT UNIVERSAL_PAYLOAD_SMBIOS_TABLE *SmbiosTable)
RETURN_STATUS EFIAPI ParseMemoryInfo(IN BL_MEM_INFO_CALLBACK MemInfoCallback, IN VOID *Params)
RETURN_STATUS EFIAPI ParseGfxDeviceInfo(OUT EFI_PEI_GRAPHICS_DEVICE_INFO_HOB *GfxDeviceInfo)
RETURN_STATUS EFIAPI ParseGfxInfo(OUT EFI_PEI_GRAPHICS_INFO_HOB *GfxInfo)
RETURN_STATUS EFIAPI ParseAcpiTableInfo(OUT UNIVERSAL_PAYLOAD_ACPI_TABLE *AcpiTableHob)
RETURN_STATUS EFIAPI ParseSerialInfo(OUT SERIAL_PORT_INFO *SerialPortInfo)
VOID *EFIAPI GetParameterBase(VOID)
RETURN_STATUS EFIAPI ParseMiscInfo(VOID)
VOID * GetGuidHobDataFromSbl(IN EFI_GUID *Guid)
EFI_GUID gUefiSerialPortInfoGuid
EFI_STATUS MemInfoCallback(IN MEMORY_MAP_ENTRY *MemoryMapEntry, IN VOID *Params)
EFI_HOB_GENERIC_HEADER Header