mirror of
				https://git.proxmox.com/git/mirror_edk2
				synced 2025-11-04 02:19:12 +00:00 
			
		
		
		
	What to do: 1. Merge from VariablePei in SecurityPkg to VariablePei in MdeModulePkg. Why to do: 1. Remove code duplication and reduce maintenance effort. The code logic of VariablePei in SecurityPkg is same with VariablePei in MdeModulePkg. Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Star Zeng <star.zeng@intel.com> Reviewed-by: Jiewen Yao <jiewen.yao@intel.com> Reviewed-by: Liming Gao <liming.gao@intel.com> git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@17756 6f19259b-4bc3-4df7-8a09-765794883524
		
			
				
	
	
		
			80 lines
		
	
	
		
			2.5 KiB
		
	
	
	
		
			INI
		
	
	
	
	
	
			
		
		
	
	
			80 lines
		
	
	
		
			2.5 KiB
		
	
	
	
		
			INI
		
	
	
	
	
	
## @file
 | 
						|
#  Implements ReadOnly Variable Services required by PEIM and installs PEI ReadOnly Varaiable2 PPI.
 | 
						|
#
 | 
						|
#  This module implements ReadOnly Variable Services required by PEIM and installs PEI ReadOnly Varaiable2 PPI.
 | 
						|
#
 | 
						|
#  Copyright (c) 2006 - 2015, Intel Corporation. All rights reserved.<BR>
 | 
						|
#  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
 | 
						|
  MODULE_UNI_FILE                = PeiVariable.uni
 | 
						|
  FILE_GUID                      = 34C8C28F-B61C-45a2-8F2E-89E46BECC63B
 | 
						|
  MODULE_TYPE                    = PEIM
 | 
						|
  VERSION_STRING                 = 1.0
 | 
						|
  ENTRY_POINT                    = PeimInitializeVariableServices
 | 
						|
 | 
						|
#
 | 
						|
# The following information is for reference only and not required by the build tools.
 | 
						|
#
 | 
						|
#  VALID_ARCHITECTURES           = IA32 X64 IPF EBC
 | 
						|
#
 | 
						|
 | 
						|
[Sources]
 | 
						|
  Variable.c
 | 
						|
  Variable.h
 | 
						|
 | 
						|
[Packages]
 | 
						|
  MdePkg/MdePkg.dec
 | 
						|
  MdeModulePkg/MdeModulePkg.dec
 | 
						|
 | 
						|
[LibraryClasses]
 | 
						|
  BaseMemoryLib
 | 
						|
  PcdLib
 | 
						|
  HobLib
 | 
						|
  PeimEntryPoint
 | 
						|
  DebugLib
 | 
						|
  PeiServicesTablePointerLib
 | 
						|
  PeiServicesLib
 | 
						|
 | 
						|
[Guids]
 | 
						|
  ## CONSUMES             ## GUID # Variable store header
 | 
						|
  ## SOMETIMES_CONSUMES   ## HOB
 | 
						|
  gEfiAuthenticatedVariableGuid
 | 
						|
  ## SOMETIMES_CONSUMES   ## GUID # Variable store header
 | 
						|
  ## SOMETIMES_CONSUMES   ## HOB
 | 
						|
  gEfiVariableGuid
 | 
						|
  ## SOMETIMES_PRODUCES   ## HOB
 | 
						|
  ## SOMETIMES_CONSUMES   ## HOB
 | 
						|
  gEfiVariableIndexTableGuid
 | 
						|
  gEfiSystemNvDataFvGuid            ## SOMETIMES_CONSUMES   ## GUID
 | 
						|
  ## SOMETIMES_CONSUMES   ## HOB
 | 
						|
  ## CONSUMES             ## GUID # Dependence
 | 
						|
  gEdkiiFaultTolerantWriteGuid
 | 
						|
 | 
						|
[Ppis]
 | 
						|
  gEfiPeiReadOnlyVariable2PpiGuid   ## PRODUCES
 | 
						|
 | 
						|
[Pcd]
 | 
						|
  gEfiMdeModulePkgTokenSpaceGuid.PcdFlashNvStorageVariableBase      ## SOMETIMES_CONSUMES
 | 
						|
  gEfiMdeModulePkgTokenSpaceGuid.PcdFlashNvStorageVariableBase64    ## CONSUMES
 | 
						|
  gEfiMdeModulePkgTokenSpaceGuid.PcdFlashNvStorageVariableSize      ## CONSUMES
 | 
						|
 | 
						|
[Depex]
 | 
						|
  gEdkiiFaultTolerantWriteGuid
 | 
						|
 | 
						|
# [BootMode]
 | 
						|
# RECOVERY_FULL             ## SOMETIMES_CONSUMES
 | 
						|
 | 
						|
[UserExtensions.TianoCore."ExtraFiles"]
 | 
						|
  PeiVariableExtra.uni
 |