DynamicTablesPkg: Don't use gEfiMdeModulePkgTokenSpaceGuid

Introduce gEdkiiDynamicTablesPkgTokenSpaceGuid and use that instead.

Signed-off-by: Joey Gouly <joey.gouly@arm.com>
Reviewed-by: Liming Gao <gaoliming@byosoft.com.cn>
Reviewed-by: Alexei Fedorov <Alexei.Fedorov@arm.com>
Reviewed-by: Sami Mujawar <sami.mujawar@arm.com>
This commit is contained in:
Joey Gouly 2021-01-22 12:51:11 +00:00 committed by mergify[bot]
parent 1d27e58e40
commit 7766ebd5ad
2 changed files with 10 additions and 8 deletions

View File

@ -1,7 +1,7 @@
## @file
# Module to manage the list of available table factories.
#
# Copyright (c) 2017 - 2019, ARM Limited. All rights reserved.
# Copyright (c) 2017 - 2021, Arm Limited. All rights reserved.
#
# SPDX-License-Identifier: BSD-2-Clause-Patent
##
@ -41,9 +41,9 @@
UefiDriverEntryPoint
[FixedPcd]
gEfiMdeModulePkgTokenSpaceGuid.PcdMaxCustomACPIGenerators
gEfiMdeModulePkgTokenSpaceGuid.PcdMaxCustomSMBIOSGenerators
gEfiMdeModulePkgTokenSpaceGuid.PcdMaxCustomDTGenerators
gEdkiiDynamicTablesPkgTokenSpaceGuid.PcdMaxCustomACPIGenerators
gEdkiiDynamicTablesPkgTokenSpaceGuid.PcdMaxCustomSMBIOSGenerators
gEdkiiDynamicTablesPkgTokenSpaceGuid.PcdMaxCustomDTGenerators
[Protocols]
gEdkiiDynamicTableFactoryProtocolGuid # PRODUCES

View File

@ -1,7 +1,7 @@
## @file
# dec file for Dynamic Tables Framework.
#
# Copyright (c) 2017 - 2020, Arm Limited. All rights reserved.<BR>
# Copyright (c) 2017 - 2021, Arm Limited. All rights reserved.<BR>
#
# SPDX-License-Identifier: BSD-2-Clause-Patent
#
@ -36,11 +36,13 @@
[PcdsFixedAtBuild]
# Maximum number of Custom ACPI Generators
gEfiMdeModulePkgTokenSpaceGuid.PcdMaxCustomACPIGenerators|1|UINT16|0xC0000001
gEdkiiDynamicTablesPkgTokenSpaceGuid.PcdMaxCustomACPIGenerators|1|UINT16|0xC0000001
# Maximum number of Custom SMBIOS Generators
gEfiMdeModulePkgTokenSpaceGuid.PcdMaxCustomSMBIOSGenerators|1|UINT16|0xC0000002
gEdkiiDynamicTablesPkgTokenSpaceGuid.PcdMaxCustomSMBIOSGenerators|1|UINT16|0xC0000002
# Maximum number of Custom DT Generators
gEfiMdeModulePkgTokenSpaceGuid.PcdMaxCustomDTGenerators|1|UINT16|0xC0000003
gEdkiiDynamicTablesPkgTokenSpaceGuid.PcdMaxCustomDTGenerators|1|UINT16|0xC0000003
[Guids]
gEdkiiDynamicTablesPkgTokenSpaceGuid = { 0xab226e66, 0x31d8, 0x4613, { 0x87, 0x9d, 0xd2, 0xfa, 0xb6, 0x10, 0x26, 0x3c } }