2010-02-24 01:21:16 +01:00
|
|
|
## @file
|
2015-07-01 05:08:29 +02:00
|
|
|
# Provides variable service.
|
2014-08-28 08:34:06 +02:00
|
|
|
#
|
2015-07-01 05:08:29 +02:00
|
|
|
# This module installs variable arch protocol and variable write arch protocol to provide
|
|
|
|
# variable services: SetVariable, GetVariable, GetNextVariableName and QueryVariableInfo.
|
2007-07-19 12:09:07 +02:00
|
|
|
#
|
2014-11-19 02:08:23 +01:00
|
|
|
# Caution: This module requires additional review when modified.
|
|
|
|
# This driver will have external input - variable data.
|
|
|
|
# This external input must be validated carefully to avoid security issues such as
|
|
|
|
# buffer overflow or integer overflow.
|
|
|
|
#
|
2015-01-05 04:38:36 +01:00
|
|
|
# Copyright (c) 2006 - 2015, Intel Corporation. All rights reserved.<BR>
|
2015-07-01 05:08:29 +02:00
|
|
|
# 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.
|
2007-07-19 12:09:07 +02:00
|
|
|
#
|
2010-02-24 01:21:16 +01:00
|
|
|
##
|
2007-07-19 12:09:07 +02:00
|
|
|
|
|
|
|
[Defines]
|
|
|
|
INF_VERSION = 0x00010005
|
|
|
|
BASE_NAME = VariableRuntimeDxe
|
2014-08-28 08:34:06 +02:00
|
|
|
MODULE_UNI_FILE = VariableRuntimeDxe.uni
|
2007-07-19 12:09:07 +02:00
|
|
|
FILE_GUID = CBD2E4D5-7068-4FF5-B462-9822B4AD8D60
|
|
|
|
MODULE_TYPE = DXE_RUNTIME_DRIVER
|
|
|
|
VERSION_STRING = 1.0
|
|
|
|
ENTRY_POINT = VariableServiceInitialize
|
|
|
|
|
|
|
|
#
|
|
|
|
# The following information is for reference only and not required by the build tools.
|
|
|
|
#
|
2008-10-28 08:17:17 +01:00
|
|
|
# VALID_ARCHITECTURES = IA32 X64 EBC
|
2007-07-19 12:09:07 +02:00
|
|
|
#
|
|
|
|
# VIRTUAL_ADDRESS_MAP_CALLBACK = VariableClassAddressChangeEvent
|
|
|
|
#
|
|
|
|
|
2010-02-24 01:21:16 +01:00
|
|
|
[Sources]
|
2008-12-14 06:40:01 +01:00
|
|
|
Reclaim.c
|
2007-07-19 12:09:07 +02:00
|
|
|
Variable.c
|
2010-12-10 10:27:54 +01:00
|
|
|
VariableDxe.c
|
2007-07-19 12:09:07 +02:00
|
|
|
Variable.h
|
2015-07-01 05:08:29 +02:00
|
|
|
Measurement.c
|
2015-01-05 04:38:36 +01:00
|
|
|
VarCheck.c
|
2015-07-01 05:08:29 +02:00
|
|
|
VariableExLib.c
|
2007-07-19 12:09:07 +02:00
|
|
|
|
|
|
|
[Packages]
|
|
|
|
MdePkg/MdePkg.dec
|
2007-08-29 10:52:49 +02:00
|
|
|
MdeModulePkg/MdeModulePkg.dec
|
2007-07-19 12:09:07 +02:00
|
|
|
|
|
|
|
[LibraryClasses]
|
|
|
|
MemoryAllocationLib
|
|
|
|
BaseLib
|
2009-01-30 01:33:39 +01:00
|
|
|
SynchronizationLib
|
2007-07-19 12:09:07 +02:00
|
|
|
UefiLib
|
|
|
|
UefiBootServicesTableLib
|
|
|
|
BaseMemoryLib
|
|
|
|
DebugLib
|
|
|
|
UefiRuntimeLib
|
|
|
|
DxeServicesTableLib
|
|
|
|
UefiDriverEntryPoint
|
|
|
|
PcdLib
|
2011-10-14 07:19:39 +02:00
|
|
|
HobLib
|
2015-07-01 05:08:29 +02:00
|
|
|
TpmMeasurementLib
|
|
|
|
AuthVariableLib
|
2015-08-25 05:01:56 +02:00
|
|
|
VarCheckLib
|
2007-07-19 12:09:07 +02:00
|
|
|
|
|
|
|
[Protocols]
|
2014-08-28 08:34:06 +02:00
|
|
|
gEfiFirmwareVolumeBlockProtocolGuid ## CONSUMES
|
|
|
|
## CONSUMES
|
|
|
|
## NOTIFY
|
|
|
|
gEfiFaultTolerantWriteProtocolGuid
|
|
|
|
gEfiVariableWriteArchProtocolGuid ## PRODUCES
|
|
|
|
gEfiVariableArchProtocolGuid ## PRODUCES
|
|
|
|
gEdkiiVariableLockProtocolGuid ## PRODUCES
|
2015-01-05 04:38:36 +01:00
|
|
|
gEdkiiVarCheckProtocolGuid ## PRODUCES
|
2007-07-19 12:09:07 +02:00
|
|
|
|
2007-10-04 23:01:21 +02:00
|
|
|
[Guids]
|
2015-07-01 05:08:29 +02:00
|
|
|
## PRODUCES ## GUID # Signature of Variable store header
|
|
|
|
## CONSUMES ## GUID # Signature of Variable store header
|
|
|
|
## SOMETIMES_CONSUMES ## HOB
|
|
|
|
## SOMETIMES_PRODUCES ## SystemTable
|
|
|
|
gEfiAuthenticatedVariableGuid
|
|
|
|
|
2014-08-28 08:34:06 +02:00
|
|
|
## PRODUCES ## GUID # Signature of Variable store header
|
|
|
|
## CONSUMES ## GUID # Signature of Variable store header
|
|
|
|
## SOMETIMES_CONSUMES ## HOB
|
|
|
|
## SOMETIMES_PRODUCES ## SystemTable
|
|
|
|
gEfiVariableGuid
|
2015-07-01 05:08:29 +02:00
|
|
|
|
2014-08-28 08:34:06 +02:00
|
|
|
## SOMETIMES_CONSUMES ## Variable:L"PlatformLang"
|
|
|
|
## SOMETIMES_PRODUCES ## Variable:L"PlatformLang"
|
|
|
|
## SOMETIMES_CONSUMES ## Variable:L"Lang"
|
|
|
|
## SOMETIMES_PRODUCES ## Variable:L"Lang"
|
|
|
|
gEfiGlobalVariableGuid
|
2015-07-01 05:08:29 +02:00
|
|
|
|
2014-08-28 08:34:06 +02:00
|
|
|
gEfiEventVirtualAddressChangeGuid ## CONSUMES ## Event
|
|
|
|
gEfiSystemNvDataFvGuid ## CONSUMES ## GUID
|
|
|
|
gEfiEndOfDxeEventGroupGuid ## CONSUMES ## Event
|
2015-07-01 05:08:29 +02:00
|
|
|
gEdkiiFaultTolerantWriteGuid ## SOMETIMES_CONSUMES ## HOB
|
2015-01-27 09:42:47 +01:00
|
|
|
gEdkiiVarErrorFlagGuid ## CONSUMES ## GUID
|
2007-10-04 23:01:21 +02:00
|
|
|
|
2010-02-24 01:21:16 +01:00
|
|
|
[Pcd]
|
2014-08-28 08:34:06 +02:00
|
|
|
gEfiMdeModulePkgTokenSpaceGuid.PcdFlashNvStorageVariableSize ## CONSUMES
|
|
|
|
gEfiMdeModulePkgTokenSpaceGuid.PcdFlashNvStorageVariableBase ## SOMETIMES_CONSUMES
|
|
|
|
gEfiMdeModulePkgTokenSpaceGuid.PcdFlashNvStorageVariableBase64 ## CONSUMES
|
|
|
|
gEfiMdeModulePkgTokenSpaceGuid.PcdMaxVariableSize ## CONSUMES
|
2015-07-01 05:08:29 +02:00
|
|
|
gEfiMdeModulePkgTokenSpaceGuid.PcdMaxAuthVariableSize ## CONSUMES
|
2014-08-28 08:34:06 +02:00
|
|
|
gEfiMdeModulePkgTokenSpaceGuid.PcdMaxHardwareErrorVariableSize ## CONSUMES
|
|
|
|
gEfiMdeModulePkgTokenSpaceGuid.PcdVariableStoreSize ## CONSUMES
|
|
|
|
gEfiMdeModulePkgTokenSpaceGuid.PcdHwErrStorageSize ## CONSUMES
|
2015-01-27 09:42:47 +01:00
|
|
|
gEfiMdeModulePkgTokenSpaceGuid.PcdMaxUserNvVariableSpaceSize ## CONSUMES
|
|
|
|
gEfiMdeModulePkgTokenSpaceGuid.PcdBoottimeReservedNvVariableSpaceSize ## CONSUMES
|
2015-02-02 10:30:34 +01:00
|
|
|
gEfiMdeModulePkgTokenSpaceGuid.PcdReclaimVariableSpaceAtEndOfDxe ## CONSUMES
|
|
|
|
|
2010-02-24 01:21:16 +01:00
|
|
|
[FeaturePcd]
|
2014-03-25 07:56:55 +01:00
|
|
|
gEfiMdeModulePkgTokenSpaceGuid.PcdVariableCollectStatistics ## CONSUMES # statistic the information of variable.
|
2015-07-01 05:08:29 +02:00
|
|
|
gEfiMdePkgTokenSpaceGuid.PcdUefiVariableDefaultLangDeprecate ## CONSUMES # Auto update PlatformLang/Lang
|
2007-07-19 12:09:07 +02:00
|
|
|
|
|
|
|
[Depex]
|
2010-12-10 10:27:54 +01:00
|
|
|
TRUE
|
2007-07-19 12:09:07 +02:00
|
|
|
|
2014-08-28 08:34:06 +02:00
|
|
|
[UserExtensions.TianoCore."ExtraFiles"]
|
|
|
|
VariableRuntimeDxeExtra.uni
|