From bc31c0c604fed97768bf39ad0d2e8182e3605709 Mon Sep 17 00:00:00 2001 From: Ard Biesheuvel Date: Thu, 2 Jul 2015 07:32:33 +0000 Subject: [PATCH] MdeModulePkg: rename PropertiesTableEnable to PcdPropertiesTableEnable PCD names should start with 'Pcd' so rename PropertiesTableEnable to PcdPropertiesTableEnable. Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Ard Biesheuvel Reviewed-by: "Yao, Jiewen" git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@17810 6f19259b-4bc3-4df7-8a09-765794883524 --- MdeModulePkg/Core/Dxe/DxeMain.inf | 2 +- MdeModulePkg/Core/Dxe/Misc/PropertiesTable.c | 2 +- MdeModulePkg/MdeModulePkg.dec | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/MdeModulePkg/Core/Dxe/DxeMain.inf b/MdeModulePkg/Core/Dxe/DxeMain.inf index 9afae4e8ee..7ebf0d7abf 100644 --- a/MdeModulePkg/Core/Dxe/DxeMain.inf +++ b/MdeModulePkg/Core/Dxe/DxeMain.inf @@ -185,7 +185,7 @@ gEfiMdeModulePkgTokenSpaceGuid.PcdMaxEfiSystemTablePointerAddress ## CONSUMES gEfiMdeModulePkgTokenSpaceGuid.PcdMemoryProfileMemoryType ## CONSUMES gEfiMdeModulePkgTokenSpaceGuid.PcdMemoryProfilePropertyMask ## CONSUMES - gEfiMdeModulePkgTokenSpaceGuid.PropertiesTableEnable ## CONSUMES + gEfiMdeModulePkgTokenSpaceGuid.PcdPropertiesTableEnable ## CONSUMES # [Hob] # RESOURCE_DESCRIPTOR ## CONSUMES diff --git a/MdeModulePkg/Core/Dxe/Misc/PropertiesTable.c b/MdeModulePkg/Core/Dxe/Misc/PropertiesTable.c index 9459c6bda3..0232a3ce7d 100644 --- a/MdeModulePkg/Core/Dxe/Misc/PropertiesTable.c +++ b/MdeModulePkg/Core/Dxe/Misc/PropertiesTable.c @@ -1311,7 +1311,7 @@ InstallPropertiesTable ( VOID *Context ) { - if (PcdGetBool (PropertiesTableEnable)) { + if (PcdGetBool (PcdPropertiesTableEnable)) { EFI_STATUS Status; Status = gBS->InstallConfigurationTable (&gEfiPropertiesTableGuid, &mPropertiesTable); diff --git a/MdeModulePkg/MdeModulePkg.dec b/MdeModulePkg/MdeModulePkg.dec index a0673849f1..5c0cf20976 100644 --- a/MdeModulePkg/MdeModulePkg.dec +++ b/MdeModulePkg/MdeModulePkg.dec @@ -1311,7 +1311,7 @@ # section. If PE code/data sections are merged, the result is unpredictable. # # @Prompt Publish UEFI PropertiesTable. - gEfiMdeModulePkgTokenSpaceGuid.PropertiesTableEnable|TRUE|BOOLEAN|0x0000006e + gEfiMdeModulePkgTokenSpaceGuid.PcdPropertiesTableEnable|TRUE|BOOLEAN|0x0000006e ## Default OEM ID for ACPI table creation, its length must be 0x6 bytes to follow ACPI specification. # @Prompt Default OEM ID for ACPI table creation. -- 2.39.2