UefiPayloadPkg: Remove SystemTableInfo GUID.
SystemTableInfo GUID is not a Spec defined GUID. The latest SBL and CBL produces ACPI and SMBIOS table information. So removing the SystemTableInfo GUID implementation. Cc: Maurice Ma <maurice.ma@intel.com> Cc: Guo Dong <guo.dong@intel.com> Cc: Ray Ni <ray.ni@intel.com> Cc: Benjamin You <benjamin.you@intel.com> Cc: Zhiguang Liu <zhiguang.liu@intel.com> Signed-off-by: Guo Dong <guo.dong@intel.com> Signed-off-by: Thiyagu Kesavan Balakrishnan <thiyagux.kesavan.balakrishnan@intel.com> Reviewed-by: Guo Dong <guo.dong@intel.com>
This commit is contained in:
committed by
mergify[bot]
parent
1bc232aae3
commit
e7663fdd82
@@ -110,9 +110,9 @@ ParseMemoryInfo (
|
||||
}
|
||||
|
||||
/**
|
||||
Acquire acpi table and smbios table from slim bootloader
|
||||
Acquire SMBIOS table from slim bootloader.
|
||||
|
||||
@param SystemTableInfo Pointer to the system table info
|
||||
@param SmbiosTable Pointer to the SMBIOS table info.
|
||||
|
||||
@retval RETURN_SUCCESS Successfully find out the tables.
|
||||
@retval RETURN_NOT_FOUND Failed to find the tables.
|
||||
@@ -120,24 +120,52 @@ ParseMemoryInfo (
|
||||
**/
|
||||
RETURN_STATUS
|
||||
EFIAPI
|
||||
ParseSystemTable (
|
||||
OUT SYSTEM_TABLE_INFO *SystemTableInfo
|
||||
ParseSmbiosTable (
|
||||
OUT UNIVERSAL_PAYLOAD_SMBIOS_TABLE *SmbiosTable
|
||||
)
|
||||
{
|
||||
SYSTEM_TABLE_INFO *TableInfo;
|
||||
UNIVERSAL_PAYLOAD_SMBIOS_TABLE *TableInfo;
|
||||
|
||||
TableInfo = (SYSTEM_TABLE_INFO *)GetGuidHobDataFromSbl (&gUefiSystemTableInfoGuid);
|
||||
TableInfo = (UNIVERSAL_PAYLOAD_SMBIOS_TABLE *)GetGuidHobDataFromSbl (&gUniversalPayloadSmbiosTableGuid);
|
||||
if (TableInfo == NULL) {
|
||||
ASSERT (FALSE);
|
||||
return RETURN_NOT_FOUND;
|
||||
}
|
||||
|
||||
CopyMem (SystemTableInfo, TableInfo, sizeof (SYSTEM_TABLE_INFO));
|
||||
SmbiosTable->SmBiosEntryPoint = TableInfo->SmBiosEntryPoint;
|
||||
|
||||
return RETURN_SUCCESS;
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
Acquire ACPI table from slim bootloader.
|
||||
|
||||
@param AcpiTableHob Pointer to the ACPI table info.
|
||||
|
||||
@retval RETURN_SUCCESS Successfully find out the tables.
|
||||
@retval RETURN_NOT_FOUND Failed to find the tables.
|
||||
|
||||
**/
|
||||
RETURN_STATUS
|
||||
EFIAPI
|
||||
ParseAcpiTableInfo (
|
||||
OUT UNIVERSAL_PAYLOAD_ACPI_TABLE *AcpiTableHob
|
||||
)
|
||||
{
|
||||
UNIVERSAL_PAYLOAD_ACPI_TABLE *TableInfo;
|
||||
|
||||
TableInfo = (UNIVERSAL_PAYLOAD_ACPI_TABLE *)GetGuidHobDataFromSbl (&gUniversalPayloadAcpiTableGuid);
|
||||
if (TableInfo == NULL) {
|
||||
ASSERT (FALSE);
|
||||
return RETURN_NOT_FOUND;
|
||||
}
|
||||
|
||||
AcpiTableHob->Rsdp = TableInfo->Rsdp;
|
||||
|
||||
return RETURN_SUCCESS;
|
||||
}
|
||||
|
||||
/**
|
||||
Find the serial port information
|
||||
|
||||
|
Reference in New Issue
Block a user