UefiPayloadPkg: Build a HOB from bootloader ACPI table
V2: Update BuildHobFromAcpi() to return a HOB pointer. For universal UEFI payload, build a HOB from the ACPI table, so that other modules could use this info from HOB at very early DXE phase. This code are shared by universal payload and non universal payload. Cc: Ray Ni <ray.ni@intel.com> Cc: Maurice Ma <maurice.ma@intel.com> Cc: Benjamin You <benjamin.you@intel.com> Reviewed-by: Ray Ni <ray.ni@intel.com> Signed-off-by: Guo Dong <guo.dong@intel.com>
This commit is contained in:
@@ -204,4 +204,17 @@ FvFindFileByTypeGuid (
|
||||
IN EFI_GUID *Guid OPTIONAL,
|
||||
OUT EFI_FFS_FILE_HEADER **FileHeader
|
||||
);
|
||||
|
||||
/**
|
||||
Build ACPI board info HOB using infomation from ACPI table
|
||||
|
||||
@param AcpiTableBase ACPI table start address in memory
|
||||
|
||||
@retval A pointer to ACPI board HOB ACPI_BOARD_INFO. Null if build HOB failure.
|
||||
**/
|
||||
ACPI_BOARD_INFO *
|
||||
BuildHobFromAcpi (
|
||||
IN UINT64 AcpiTableBase
|
||||
);
|
||||
|
||||
#endif
|
||||
|
Reference in New Issue
Block a user