REF: https://bugzilla.tianocore.org/show_bug.cgi?id=3997 This change added an extra step to allow check for installed ACPI tables. For FADT, MADT, GTDT, DSDT, DBG2 and SPCR tables, either pre-installed or supplied through AcpiTableInfo can be accepted. An extra check for FADT ACPI table existence during installation step is also added. Cc: Sami Mujawar <Sami.Mujawar@arm.com> Cc: Alexei Fedorov <Alexei.Fedorov@arm.com> Co-authored-by: Joe Lopez <joelopez@microsoft.com> Signed-off-by: Kun Qin <kuqin12@gmail.com> Reviewed-by: Pierre Gondois <pierre.gondois@arm.com> Reviewed-by: Sami Mujawar <sami.mujawar@Arm.com> Tested-by: Sami Mujawar <sami.mujawar@arm.com>
52 lines
1.5 KiB
INI
52 lines
1.5 KiB
INI
## @file
|
|
# Module that drives the table generation and installation process.
|
|
#
|
|
# Copyright (c) 2017 - 2019, ARM Limited. All rights reserved.
|
|
#
|
|
# SPDX-License-Identifier: BSD-2-Clause-Patent
|
|
##
|
|
|
|
[Defines]
|
|
INF_VERSION = 0x00010019
|
|
BASE_NAME = DynamicTableManagerDxe
|
|
FILE_GUID = 89122868-BCFD-49E8-88A3-06635CB7B3CF
|
|
MODULE_TYPE = DXE_DRIVER
|
|
VERSION_STRING = 1.0
|
|
ENTRY_POINT = DynamicTableManagerDxeInitialize
|
|
|
|
#
|
|
# The following information is for reference only and not required by the build tools.
|
|
#
|
|
# VALID_ARCHITECTURES = ARM AARCH64
|
|
#
|
|
|
|
[Sources]
|
|
DynamicTableManagerDxe.c
|
|
|
|
[Packages]
|
|
MdePkg/MdePkg.dec
|
|
MdeModulePkg/MdeModulePkg.dec
|
|
DynamicTablesPkg/DynamicTablesPkg.dec
|
|
|
|
[LibraryClasses]
|
|
PrintLib
|
|
TableHelperLib
|
|
UefiBootServicesTableLib
|
|
UefiDriverEntryPoint
|
|
|
|
[FeaturePcd]
|
|
gEfiMdeModulePkgTokenSpaceGuid.PcdInstallAcpiSdtProtocol ## CONSUMES
|
|
|
|
[Protocols]
|
|
gEfiAcpiTableProtocolGuid # PROTOCOL ALWAYS_CONSUMED
|
|
gEfiAcpiSdtProtocolGuid # PROTOCOL ALWAYS_CONSUMED
|
|
|
|
gEdkiiConfigurationManagerProtocolGuid # PROTOCOL ALWAYS_CONSUMED
|
|
gEdkiiDynamicTableFactoryProtocolGuid # PROTOCOL ALWAYS_CONSUMED
|
|
|
|
[Depex]
|
|
gEfiAcpiTableProtocolGuid AND
|
|
gEdkiiConfigurationManagerProtocolGuid AND
|
|
gEdkiiDynamicTableFactoryProtocolGuid
|
|
|