From 54fae63b37bc8aeeb223ee5f3c45d9ee963ee8fb Mon Sep 17 00:00:00 2001 From: qwang12 Date: Wed, 24 May 2006 08:35:25 +0000 Subject: [PATCH] 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@256 6f19259b-4bc3-4df7-8a09-765794883524 --- EdkModulePkg/Universal/PCD/Dxe/Pcd.dxs | 27 ++++++++ EdkModulePkg/Universal/PCD/Dxe/Pcd.mbd | 46 +++++++++++++ EdkModulePkg/Universal/PCD/Dxe/Pcd.msa | 88 ++++++++++++++++++++++++ EdkModulePkg/Universal/PCD/Dxe/build.xml | 47 +++++++++++++ 4 files changed, 208 insertions(+) create mode 100644 EdkModulePkg/Universal/PCD/Dxe/Pcd.dxs create mode 100644 EdkModulePkg/Universal/PCD/Dxe/Pcd.mbd create mode 100644 EdkModulePkg/Universal/PCD/Dxe/Pcd.msa create mode 100644 EdkModulePkg/Universal/PCD/Dxe/build.xml diff --git a/EdkModulePkg/Universal/PCD/Dxe/Pcd.dxs b/EdkModulePkg/Universal/PCD/Dxe/Pcd.dxs new file mode 100644 index 0000000000..9e814a6f85 --- /dev/null +++ b/EdkModulePkg/Universal/PCD/Dxe/Pcd.dxs @@ -0,0 +1,27 @@ +/*++ + +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 +#include + +DEPENDENCY_START + TRUE +DEPENDENCY_END diff --git a/EdkModulePkg/Universal/PCD/Dxe/Pcd.mbd b/EdkModulePkg/Universal/PCD/Dxe/Pcd.mbd new file mode 100644 index 0000000000..162339574a --- /dev/null +++ b/EdkModulePkg/Universal/PCD/Dxe/Pcd.mbd @@ -0,0 +1,46 @@ + + + + + PcdDxe + 80CF7257-87AB-47f9-A3FE-D50B76D89541 + 0 + 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-19 15:17 + + + UefiBootServicesTableLib + BaseLib + DxeHobLib + UefiLib + HiiLib + UefiMemoryLib + UefiDriverEntryPoint + DxeReportStatusCodeLib + BaseDebugLibReportStatusCode + DxeMemoryAllocationLib + EdkDxeRuntimeDriverLib + + + _ModuleEntryPoint + + diff --git a/EdkModulePkg/Universal/PCD/Dxe/Pcd.msa b/EdkModulePkg/Universal/PCD/Dxe/Pcd.msa new file mode 100644 index 0000000000..2793cf258f --- /dev/null +++ b/EdkModulePkg/Universal/PCD/Dxe/Pcd.msa @@ -0,0 +1,88 @@ + + + + + PcdDxe + DXE_DRIVER + BS_DRIVER + 80CF7257-87AB-47f9-A3FE-D50B76D89541 + 0 + Component description file for DxeIpl 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. + + 0 + 2006-03-14 17:04 + 2006-03-19 15:17 + + + BaseLib + DebugLib + HiiLib + UefiLib + UefiDriverEntryPoint + PcdLib + HobLib + MemoryAllocationLib + UefiBootServicesTableLib + BaseMemoryLib + DxeRuntimeDriverLib + + + Service.c + Pcd.c + + + MdePkg + EdkModulePkg + + + Pcd + Variable + + + + PcdDataBaseHob + gPcdDataBaseHobGuid + 0xea296d92, 0xb69, 0x423c, 0x8c, 0x28, 0x33, 0xb4, 0xe0, 0xa9, 0x12, 0x68 + + + + + PcdDataBaseHob + + + + + PcdDxeInit + + + + + PcdMaxPeiPcdCallBackNumberPerPcdEntry + 0x0001000f + UINT32 + + + PcdVpdBaseAddress + 0x00010010 + UINT32 + + + diff --git a/EdkModulePkg/Universal/PCD/Dxe/build.xml b/EdkModulePkg/Universal/PCD/Dxe/build.xml new file mode 100644 index 0000000000..48305a194d --- /dev/null +++ b/EdkModulePkg/Universal/PCD/Dxe/build.xml @@ -0,0 +1,47 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file -- 2.39.2