REF:https://bugzilla.tianocore.org/show_bug.cgi?id=3479 Updates VariableRuntimeDxe, VariableSmm, and VariableStandaloneMm to acquire variable flash information from the Variable Flash Information library. Note: This introduces a dependency on VariableFlashInfoLib in these modules. Therefore, a platform building the variable modules must specify an instance of VariableFlashInfoLib in their platform build. Cc: Jian J Wang <jian.j.wang@intel.com> Cc: Hao A Wu <hao.a.wu@intel.com> Cc: Liming Gao <gaoliming@byosoft.com.cn> Signed-off-by: Michael Kubacki <michael.kubacki@microsoft.com> Acked-by: Ard Biesheuvel <ardb@kernel.org> Reviewed-by: Liming Gao <gaoliming@byosoft.com.cn> Reviewed-by: Sami Mujawar <sami.mujawar@arm.com>
		
			
				
	
	
		
			74 lines
		
	
	
		
			2.0 KiB
		
	
	
	
		
			INI
		
	
	
	
	
	
			
		
		
	
	
			74 lines
		
	
	
		
			2.0 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 - 2019, Intel Corporation. All rights reserved.<BR>
 | |
| #  SPDX-License-Identifier: BSD-2-Clause-Patent
 | |
| #
 | |
| ##
 | |
| 
 | |
| [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 EBC
 | |
| #
 | |
| 
 | |
| [Sources]
 | |
|   Variable.c
 | |
|   Variable.h
 | |
| 
 | |
| [Packages]
 | |
|   MdePkg/MdePkg.dec
 | |
|   MdeModulePkg/MdeModulePkg.dec
 | |
| 
 | |
| [LibraryClasses]
 | |
|   BaseMemoryLib
 | |
|   PcdLib
 | |
|   HobLib
 | |
|   PeimEntryPoint
 | |
|   DebugLib
 | |
|   PeiServicesTablePointerLib
 | |
|   PeiServicesLib
 | |
|   SafeIntLib
 | |
|   VariableFlashInfoLib
 | |
| 
 | |
| [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.PcdEmuVariableNvModeEnable         ## SOMETIMES_CONSUMES
 | |
| 
 | |
| [Depex]
 | |
|   gEdkiiFaultTolerantWriteGuid
 | |
| 
 | |
| # [BootMode]
 | |
| # RECOVERY_FULL             ## SOMETIMES_CONSUMES
 | |
| 
 | |
| [UserExtensions.TianoCore."ExtraFiles"]
 | |
|   PeiVariableExtra.uni
 |