MdeModulePkg/ACPI: Install ACPI table from HOB.
If HOB contains APCI table information, entry point of AcpiTableDxe.inf should parse the APCI table from HOB, and install these tables. We assume the whole ACPI table (starting with EFI_ACPI_2_0_ROOT_SYSTEM_DESCRIPTION_POINTER) is contained by a single gEfiAcpiTableGuid HOB. If error happens when installing ACPI table, stop installing and removing all the tables that are already added. Cc: Jian J Wang <jian.j.wang@intel.com> Cc: Hao A Wu <hao.a.wu@intel.com> Cc: Dandan Bi <dandan.bi@intel.com> Cc: Liming Gao <gaoliming@byosoft.com.cn> Cc: Ray Ni <ray.ni@intel.com> Reviewed-by: Hao A Wu <hao.a.wu@intel.com> Tested-by: Patrick Rudolph <patrick.rudolph@9elements.com> Signed-off-by: Zhiguang Liu <zhiguang.liu@intel.com>
This commit is contained in:
committed by
mergify[bot]
parent
75293330ea
commit
761329ee27
@@ -4,7 +4,7 @@
|
||||
# This driver initializes ACPI tables (Rsdp, Rsdt and Xsdt) and produces UEFI/PI
|
||||
# services to install/uninstall/manage ACPI tables.
|
||||
#
|
||||
# Copyright (c) 2006 - 2018, Intel Corporation. All rights reserved.<BR>
|
||||
# Copyright (c) 2006 - 2021, Intel Corporation. All rights reserved.<BR>
|
||||
# Copyright (c) 2016, Linaro Ltd. All rights reserved.<BR>
|
||||
# SPDX-License-Identifier: BSD-2-Clause-Patent
|
||||
#
|
||||
@@ -51,10 +51,12 @@
|
||||
DebugLib
|
||||
BaseLib
|
||||
PcdLib
|
||||
HobLib
|
||||
|
||||
[Guids]
|
||||
gEfiAcpi10TableGuid ## PRODUCES ## SystemTable
|
||||
gEfiAcpiTableGuid ## PRODUCES ## SystemTable
|
||||
gEfiAcpi10TableGuid ## PRODUCES ## SystemTable
|
||||
gEfiAcpiTableGuid ## PRODUCES ## SystemTable
|
||||
gUniversalPayloadAcpiTableGuid ## SOMETIMES_CONSUMES ## HOB
|
||||
|
||||
[FeaturePcd]
|
||||
gEfiMdeModulePkgTokenSpaceGuid.PcdInstallAcpiSdtProtocol ## CONSUMES
|
||||
|
Reference in New Issue
Block a user