From: qwang12 Date: Wed, 24 May 2006 08:38:12 +0000 (+0000) Subject: Check in the Pcd service Driver/PEIM according to the new way of generating PCD Database X-Git-Tag: edk2-stable201903~25436 X-Git-Url: https://git.proxmox.com/?p=mirror_edk2.git;a=commitdiff_plain;h=10d44326f3b1fa078c90bc217de2d904e38f974c;ds=inline 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@258 6f19259b-4bc3-4df7-8a09-765794883524 --- diff --git a/EdkModulePkg/Universal/PCD/Test/PeiPcdTest.mbd b/EdkModulePkg/Universal/PCD/Test/PeiPcdTest.mbd new file mode 100644 index 0000000000..e601061991 --- /dev/null +++ b/EdkModulePkg/Universal/PCD/Test/PeiPcdTest.mbd @@ -0,0 +1,41 @@ + + + + + PeimPcdTesty + 7AB59E15-BA5A-4617-B562-BA428D002082 + 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 + BaseDebugLibReportStatusCode + PeiMemoryLib + PeiReportStatusCodeLib + PeiMemoryAllocationLib + PeiPcdLib + + diff --git a/EdkModulePkg/Universal/PCD/Test/PeiPcdTest.msa b/EdkModulePkg/Universal/PCD/Test/PeiPcdTest.msa new file mode 100644 index 0000000000..51557e36a6 --- /dev/null +++ b/EdkModulePkg/Universal/PCD/Test/PeiPcdTest.msa @@ -0,0 +1,103 @@ + + + + + PeimPcdTest + PEIM + PE32_PEIM + B5B62DC2-4420-403a-A068-6E126053A166 + 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 + PcdLib + PeiServicesTablePointerLib + MemoryAllocationLib + BaseMemoryLib + + + PcdTest.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 + + + + PcdTestPeimInit + + + + + PcdMaxPeiPcdCallBackNumberPerPcdEntry + 0x0001000f + UINT32 + + + PcdTestDynamicUint8 + 0x00011000 + UINT8 + + + PcdTestDynamicUint16 + 0x00011001 + UINT16 + + + PcdTestDynamicUint32 + 0x00011002 + UINT32 + + + PcdTestDynamicUint64 + 0x00011003 + UINT64 + + + PcdTestDynamicBoolean + 0x00011004 + BOOLEAN + + + diff --git a/EdkModulePkg/Universal/PCD/Test/build.xml b/EdkModulePkg/Universal/PCD/Test/build.xml new file mode 100644 index 0000000000..e271f5d2e4 --- /dev/null +++ b/EdkModulePkg/Universal/PCD/Test/build.xml @@ -0,0 +1,47 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file