X-Git-Url: https://git.proxmox.com/?p=mirror_edk2.git;a=blobdiff_plain;f=MdePkg%2FLibrary%2FDxePcdLib%2FDxePcdLib.inf;h=893609070d66c40e2f3501da396f78d4033690b2;hp=04c2b6e6e5e8d45033ffbcccb130f37359b2ae7f;hb=b35a5f731c499f1fb5b6817c77ceaff4ef0f896b;hpb=9f5fea4798b169bd104a43b72b65827341620086 diff --git a/MdePkg/Library/DxePcdLib/DxePcdLib.inf b/MdePkg/Library/DxePcdLib/DxePcdLib.inf index 04c2b6e6e5..893609070d 100644 --- a/MdePkg/Library/DxePcdLib/DxePcdLib.inf +++ b/MdePkg/Library/DxePcdLib/DxePcdLib.inf @@ -1,20 +1,29 @@ -#/** @file -# PCD Library instance implemented with PCD Protocol +## @file +# Instance of PCD Library using PCD Protocol. # -# This library instance implement the APIs listed -# in PCD library class defined in MDE library specification. -# It is used by modules in DXE phase. -# Copyright (c) 2007, Intel Corporation. +# There are two PCD PPIs as follows: +# 1) PCD_PROTOCOL +# It is EDKII implementation which support Dynamic/DynamicEx Pcds. +# 2) EFI_PCD_PROTOCOL +# It is defined by PI specification 1.2, Vol 3 which only support dynamicEx +# type Pcd. # -# All rights reserved. This program and the accompanying materials +# For dynamicEx type PCD, it is compatible between PCD_PROTOCOL and EFI_PCD_PROTOCOL. +# +# This library instance uses the PCD_PROTOCOL to handle dynamic PCD request and use +# EFI_PCD_PROTOCOL to handle dynamicEx type PCD. +# +# Copyright (c) 2007 - 2010, Intel Corporation. All rights reserved.
+# +# This program and the accompanying materials # are licensed and made available under the terms and conditions of the BSD License # which accompanies this distribution. The full text of the license may be found at -# http://opensource.org/licenses/bsd-license.php +# http://opensource.org/licenses/bsd-license.php. # THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS, # WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED. # # -#**/ +## [Defines] INF_VERSION = 0x00010005 @@ -22,17 +31,13 @@ FILE_GUID = af97eb89-4cc6-45f8-a514-ca025b346480 MODULE_TYPE = DXE_DRIVER VERSION_STRING = 1.0 - LIBRARY_CLASS = PcdLib|DXE_DRIVER DXE_RUNTIME_DRIVER DXE_SAL_DRIVER DXE_SMM_DRIVER UEFI_APPLICATION UEFI_DRIVER - EDK_RELEASE_VERSION = 0x00020000 - EFI_SPECIFICATION_VERSION = 0x00020000 - - CONSTRUCTOR = PcdLibConstructor + LIBRARY_CLASS = PcdLib|DXE_CORE DXE_DRIVER DXE_RUNTIME_DRIVER DXE_SAL_DRIVER DXE_SMM_DRIVER SMM_CORE UEFI_APPLICATION UEFI_DRIVER # # VALID_ARCHITECTURES = IA32 X64 IPF EBC # -[Sources.common] +[Sources] DxePcdLib.c @@ -47,8 +52,9 @@ [Protocols] - gPcdProtocolGuid # PROTOCOL ALWAYS_CONSUMED - - + gPcdProtocolGuid ## CONSUMES + gEfiPcdProtocolGuid ## CONSUMES + [Depex] - gPcdProtocolGuid \ No newline at end of file + gEfiPcdProtocolGuid +