From: klu2 Date: Mon, 16 Jul 2007 17:57:30 +0000 (+0000) Subject: Add Pei postfix to variable peim driver X-Git-Tag: edk2-stable201903~22700 X-Git-Url: https://git.proxmox.com/?p=mirror_edk2.git;a=commitdiff_plain;h=fd79032e48b26a869806f598d56b55a21ce4ff4f Add Pei postfix to variable peim driver git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@3261 6f19259b-4bc3-4df7-8a09-765794883524 --- diff --git a/MdeModulePkg/MdeModulePkg.dsc b/MdeModulePkg/MdeModulePkg.dsc index 5000797dc3..0b1d6fcafc 100644 --- a/MdeModulePkg/MdeModulePkg.dsc +++ b/MdeModulePkg/MdeModulePkg.dsc @@ -413,7 +413,7 @@ $(WORKSPACE)/MdeModulePkg/Universal/RuntimeDxe/Runtime.inf $(WORKSPACE)/MdeModulePkg/Universal/WatchDogTimerDxe/WatchDogTimer.inf - $(WORKSPACE)/MdeModulePkg/Universal/VariablePei/Variable.inf + $(WORKSPACE)/MdeModulePkg/Universal/VariablePei/VariablePei.inf $(WORKSPACE)/MdeModulePkg/Universal/DebugSupportDxe/DebugSupport.inf $(WORKSPACE)/MdeModulePkg/Universal/DebugPortDxe/DebugPort.inf $(WORKSPACE)/MdeModulePkg/Universal/PCD/Dxe/Pcd.inf diff --git a/MdeModulePkg/Universal/VariablePei/Variable.inf b/MdeModulePkg/Universal/VariablePei/Variable.inf deleted file mode 100644 index 72a6b796fe..0000000000 --- a/MdeModulePkg/Universal/VariablePei/Variable.inf +++ /dev/null @@ -1,69 +0,0 @@ -#/** @file -# Component description file for PeiVariable module. -# -# Framework PEIM to provide the Variable functionality. -# Copyright (c) 2006 - 2007, 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. -# -# -#**/ - -[Defines] - INF_VERSION = 0x00010005 - BASE_NAME = PeiVariable - FILE_GUID = 34C8C28F-B61C-45a2-8F2E-89E46BECC63B - MODULE_TYPE = PEIM - VERSION_STRING = 1.0 - EDK_RELEASE_VERSION = 0x00020000 - EFI_SPECIFICATION_VERSION = 0x00020000 - - ENTRY_POINT = PeimInitializeVariableServices - -# -# The following information is for reference only and not required by the build tools. -# -# VALID_ARCHITECTURES = IA32 X64 IPF EBC -# - -[Sources.common] - Variable.c - Variable.h - -[Sources.Ia32] - VariableWorker.c - -[Sources.X64] - VariableWorker.c - -[Sources.IPF] - Ipf/VariableWorker.c - -[Sources.EBC] - VariableWorker.c - -[Packages] - MdePkg/MdePkg.dec - MdeModulePkg/MdeModulePkg.dec - -[LibraryClasses] - BaseMemoryLib - PcdLib - HobLib - PeimEntryPoint - DebugLib - PeiServiceTablePointerLib - -[Ppis] - gEfiPeiReadOnlyVariable2PpiGuid # PPI ALWAYS_CONSUMED - -[PcdsDynamic.common] - PcdFlashNvStorageVariableBase|gEfiMdeModulePkgTokenSpaceGuid - -[Depex] - TRUE diff --git a/MdeModulePkg/Universal/VariablePei/VariablePei.inf b/MdeModulePkg/Universal/VariablePei/VariablePei.inf new file mode 100644 index 0000000000..72a6b796fe --- /dev/null +++ b/MdeModulePkg/Universal/VariablePei/VariablePei.inf @@ -0,0 +1,69 @@ +#/** @file +# Component description file for PeiVariable module. +# +# Framework PEIM to provide the Variable functionality. +# Copyright (c) 2006 - 2007, 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. +# +# +#**/ + +[Defines] + INF_VERSION = 0x00010005 + BASE_NAME = PeiVariable + FILE_GUID = 34C8C28F-B61C-45a2-8F2E-89E46BECC63B + MODULE_TYPE = PEIM + VERSION_STRING = 1.0 + EDK_RELEASE_VERSION = 0x00020000 + EFI_SPECIFICATION_VERSION = 0x00020000 + + ENTRY_POINT = PeimInitializeVariableServices + +# +# The following information is for reference only and not required by the build tools. +# +# VALID_ARCHITECTURES = IA32 X64 IPF EBC +# + +[Sources.common] + Variable.c + Variable.h + +[Sources.Ia32] + VariableWorker.c + +[Sources.X64] + VariableWorker.c + +[Sources.IPF] + Ipf/VariableWorker.c + +[Sources.EBC] + VariableWorker.c + +[Packages] + MdePkg/MdePkg.dec + MdeModulePkg/MdeModulePkg.dec + +[LibraryClasses] + BaseMemoryLib + PcdLib + HobLib + PeimEntryPoint + DebugLib + PeiServiceTablePointerLib + +[Ppis] + gEfiPeiReadOnlyVariable2PpiGuid # PPI ALWAYS_CONSUMED + +[PcdsDynamic.common] + PcdFlashNvStorageVariableBase|gEfiMdeModulePkgTokenSpaceGuid + +[Depex] + TRUE diff --git a/Nt32Pkg/Nt32Pkg.dsc b/Nt32Pkg/Nt32Pkg.dsc index fb657c7d2c..bad4ce74f5 100644 --- a/Nt32Pkg/Nt32Pkg.dsc +++ b/Nt32Pkg/Nt32Pkg.dsc @@ -364,7 +364,7 @@ $(WORKSPACE)/Nt32Pkg/BootModePei/BootModePei.inf $(WORKSPACE)/Nt32Pkg/WinNtFlashMapPei/FlashMap.inf $(WORKSPACE)/MdeModulePkg/Universal/BaseMemoryTestPei/BaseMemoryTest.inf - $(WORKSPACE)/MdeModulePkg/Universal/VariablePei/Variable.inf + $(WORKSPACE)/MdeModulePkg/Universal/VariablePei/VariablePei.inf $(WORKSPACE)/Nt32Pkg/WinNtAutoScanPei/WinNtAutoScan.inf $(WORKSPACE)/Nt32Pkg/WinNtFirmwareVolumePei/WinNtFwh.inf $(WORKSPACE)/Nt32Pkg/WinNtThunkPPIToProtocolPei/WinNtThunkPPIToProtocol.inf diff --git a/Nt32Pkg/Nt32Pkg.fdf b/Nt32Pkg/Nt32Pkg.fdf index 610c8e5007..2570eb1bde 100644 --- a/Nt32Pkg/Nt32Pkg.fdf +++ b/Nt32Pkg/Nt32Pkg.fdf @@ -118,7 +118,7 @@ INF $(WORKSPACE)/IntelFrameworkModulePkg/Universal/StatusCode/Pei/PeiStatusCode INF $(WORKSPACE)/Nt32Pkg/BootModePei/BootModePei.inf INF $(WORKSPACE)/Nt32Pkg/WinNtFlashMapPei/FlashMap.inf INF $(WORKSPACE)/MdeModulePkg/Universal/BaseMemoryTestPei/BaseMemoryTest.inf -INF $(WORKSPACE)/MdeModulePkg/Universal/VariablePei/Variable.inf +INF $(WORKSPACE)/MdeModulePkg/Universal/VariablePei/VariablePei.inf INF $(WORKSPACE)/Nt32Pkg/WinNtAutoScanPei/WinNtAutoScan.inf INF $(WORKSPACE)/Nt32Pkg/WinNtFirmwareVolumePei/WinNtFwh.inf INF $(WORKSPACE)/Nt32Pkg/WinNtThunkPPIToProtocolPei/WinNtThunkPPIToProtocol.inf