From: qwang12 Date: Wed, 24 May 2006 08:36:02 +0000 (+0000) Subject: Check in the Pcd service Driver/PEIM according to the new way of generating PCD Database X-Git-Tag: edk2-stable201903~25437 X-Git-Url: https://git.proxmox.com/?p=mirror_edk2.git;a=commitdiff_plain;h=98960993afde4d3b1604be859409004f5177c6cc;ds=sidebyside Check in the Pcd service Driver/PEIM according to the new way of generating PCD Database LIMITATION: 1) ONLY dynamic type PCD is supported for now. DynamicEx is not supported. 2) HII enable and VPD is not tested. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@257 6f19259b-4bc3-4df7-8a09-765794883524 --- diff --git a/EdkModulePkg/Universal/PCD/Pei/Pcd.dxs b/EdkModulePkg/Universal/PCD/Pei/Pcd.dxs new file mode 100644 index 0000000000..ea579976c8 --- /dev/null +++ b/EdkModulePkg/Universal/PCD/Pei/Pcd.dxs @@ -0,0 +1,25 @@ +/*++ + +Copyright (c) 2006, 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 + +THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS, +WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED. + +Module Name: + + PcdEmulator.dxs + +Abstract: + + Dependency expression source file. + +--*/ +#include + +DEPENDENCY_START + TRUE +DEPENDENCY_END diff --git a/EdkModulePkg/Universal/PCD/Pei/Pcd.mbd b/EdkModulePkg/Universal/PCD/Pei/Pcd.mbd new file mode 100644 index 0000000000..816cf6f869 --- /dev/null +++ b/EdkModulePkg/Universal/PCD/Pei/Pcd.mbd @@ -0,0 +1,41 @@ + + + + + PcdEmulatorPeim + 9B3ADA4F-AE56-4c24-8DEA-F03B7558AE50 + EDK_RELEASE_VERSION 0x00020000 + FIX ME! + Copyright (c) 2004-2006, 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 + THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS, + WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED. + + 2006-03-14 17:04 + 2006-03-24 18:54 + + + PeimEntryPoint + BaseLib + PeiCoreLib + PeiServicesTablePointerLib + PeiHobLib + BaseDebugLibReportStatusCode + PeiMemoryLib + PeiReportStatusCodeLib + PeiMemoryAllocationLib + + diff --git a/EdkModulePkg/Universal/PCD/Pei/Pcd.msa b/EdkModulePkg/Universal/PCD/Pei/Pcd.msa new file mode 100644 index 0000000000..d10dca58b2 --- /dev/null +++ b/EdkModulePkg/Universal/PCD/Pei/Pcd.msa @@ -0,0 +1,95 @@ + + + + + PcdPeim + PEIM + PE32_PEIM + 9B3ADA4F-AE56-4c24-8DEA-F03B7558AE50 + EDK_RELEASE_VERSION 0x00020000 + Component description file for Pcd Database PEIM module + FIX ME! + Copyright (c) 2004-2006, 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 + THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS, + WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED. + + EFI_SPECIFICATION_VERSION 0x00000000 + 2006-03-14 17:04 + 2006-03-24 18:54 + + + DebugLib + PeimEntryPoint + BaseLib + HobLib + PeiCoreLib + PcdLib + PeiServicesTablePointerLib + MemoryAllocationLib + BaseMemoryLib + + + Pcd.dxs + Pcd.c + Service.c + + + MdePkg + EdkModulePkg + + + + PcdDataBaseHob + gPcdDataBaseHobGuid + 0xea296d92, 0xb69, 0x423c, 0x8c, 0x28, 0x33, 0xb4, 0xe0, 0xa9, 0x12, 0x68 + + + PcdPeiCallbackFnTable + gPcdPeiCallbackFnTableHobGuid + 0xc625f4b2, 0xea09, 0x4675, 0x82, 0xd7, 0xba, 0x36, 0x82, 0x15, 0x7a, 0x14 + + + + Pcd + ReadOnlyVariable + + + + PcdDataBaseHob + + + PcdPeiCallbackFnTable + + + + + PcdPeimInit + + + + + PcdMaxPeiPcdCallBackNumberPerPcdEntry + 0x0001000f + UINT32 + + + PcdVpdBaseAddress + 0x00010010 + UINT32 + + + diff --git a/EdkModulePkg/Universal/PCD/Pei/build.xml b/EdkModulePkg/Universal/PCD/Pei/build.xml new file mode 100644 index 0000000000..931a890716 --- /dev/null +++ b/EdkModulePkg/Universal/PCD/Pei/build.xml @@ -0,0 +1,47 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file