2011-09-02 09:49:32 +02:00
|
|
|
## @file
|
|
|
|
# Component description file for Authenticated Variable module.
|
|
|
|
#
|
2012-06-12 10:28:43 +02: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 issue like
|
|
|
|
# buffer overflow, integer overflow.
|
|
|
|
#
|
2014-01-24 10:32:30 +01:00
|
|
|
# Copyright (c) 2009 - 2014, Intel Corporation. All rights reserved.<BR>
|
2011-09-02 09:49:32 +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.
|
|
|
|
#
|
|
|
|
##
|
|
|
|
|
|
|
|
[Defines]
|
|
|
|
INF_VERSION = 0x00010005
|
2014-01-24 10:32:30 +01:00
|
|
|
BASE_NAME = VariableAuthRuntimeDxe
|
2011-09-02 09:49:32 +02:00
|
|
|
FILE_GUID = 2226F30F-3D5B-402d-9936-A97184EB4516
|
|
|
|
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.
|
|
|
|
#
|
|
|
|
# VALID_ARCHITECTURES = IA32 X64 EBC
|
|
|
|
#
|
|
|
|
# VIRTUAL_ADDRESS_MAP_CALLBACK = VariableClassAddressChangeEvent
|
|
|
|
#
|
|
|
|
|
|
|
|
[Sources]
|
|
|
|
Reclaim.c
|
|
|
|
Variable.c
|
|
|
|
VariableDxe.c
|
|
|
|
Variable.h
|
|
|
|
AuthService.c
|
|
|
|
AuthService.h
|
2013-09-18 07:31:18 +02:00
|
|
|
Measurement.c
|
2011-09-02 09:49:32 +02:00
|
|
|
|
|
|
|
[Packages]
|
|
|
|
MdePkg/MdePkg.dec
|
|
|
|
MdeModulePkg/MdeModulePkg.dec
|
|
|
|
CryptoPkg/CryptoPkg.dec
|
|
|
|
SecurityPkg/SecurityPkg.dec
|
|
|
|
|
|
|
|
[LibraryClasses]
|
|
|
|
MemoryAllocationLib
|
|
|
|
BaseLib
|
|
|
|
SynchronizationLib
|
|
|
|
UefiLib
|
|
|
|
UefiBootServicesTableLib
|
|
|
|
BaseMemoryLib
|
|
|
|
DebugLib
|
|
|
|
UefiRuntimeLib
|
|
|
|
DxeServicesTableLib
|
|
|
|
UefiDriverEntryPoint
|
|
|
|
PcdLib
|
|
|
|
BaseCryptLib
|
2011-10-19 14:40:52 +02:00
|
|
|
PlatformSecureLib
|
|
|
|
HobLib
|
2013-09-18 07:31:18 +02:00
|
|
|
TpmMeasurementLib
|
2011-09-02 09:49:32 +02:00
|
|
|
|
|
|
|
[Protocols]
|
|
|
|
gEfiFirmwareVolumeBlockProtocolGuid ## SOMETIMES_CONSUMES
|
|
|
|
gEfiVariableWriteArchProtocolGuid ## ALWAYS_PRODUCES
|
|
|
|
gEfiVariableArchProtocolGuid ## ALWAYS_PRODUCES
|
|
|
|
gEfiFaultTolerantWriteProtocolGuid ## SOMETIMES_CONSUMES
|
2013-05-20 09:10:10 +02:00
|
|
|
gEdkiiVariableLockProtocolGuid ## ALWAYS_PRODUCES
|
2011-09-02 09:49:32 +02:00
|
|
|
|
|
|
|
[Guids]
|
2011-10-28 11:55:09 +02:00
|
|
|
gEfiAuthenticatedVariableGuid ## PRODUCES ## Configuration Table Guid
|
2011-09-02 09:49:32 +02:00
|
|
|
gEfiGlobalVariableGuid ## PRODUCES ## Variable Guid
|
2013-05-20 09:10:10 +02:00
|
|
|
gEfiEventVirtualAddressChangeGuid ## CONSUMES ## Event
|
2011-12-09 08:22:59 +01:00
|
|
|
gEfiCertTypeRsa2048Sha256Guid
|
2011-09-02 09:49:32 +02:00
|
|
|
gEfiImageSecurityDatabaseGuid
|
|
|
|
gEfiCertX509Guid
|
|
|
|
gEfiCertPkcs7Guid
|
2011-10-28 05:46:20 +02:00
|
|
|
gEfiCertRsa2048Guid
|
|
|
|
gEfiSecureBootEnableDisableGuid
|
2012-03-27 10:17:23 +02:00
|
|
|
gEfiCustomModeEnableGuid
|
2013-09-12 07:23:28 +02:00
|
|
|
gEfiVendorKeysNvGuid
|
2011-12-13 10:42:36 +01:00
|
|
|
gEfiSystemNvDataFvGuid ## CONSUMES
|
2012-03-31 06:42:20 +02:00
|
|
|
gEfiCertDbGuid
|
2012-05-30 04:53:10 +02:00
|
|
|
gEfiHardwareErrorVariableGuid ## SOMETIMES_CONSUMES
|
2013-05-20 09:10:10 +02:00
|
|
|
gEfiEndOfDxeEventGroupGuid ## CONSUMES ## Event
|
2013-07-03 11:09:42 +02:00
|
|
|
gEdkiiFaultTolerantWriteGuid ## CONSUMES
|
2011-09-02 09:49:32 +02:00
|
|
|
|
|
|
|
[Pcd]
|
|
|
|
gEfiMdeModulePkgTokenSpaceGuid.PcdFlashNvStorageVariableSize
|
|
|
|
gEfiMdeModulePkgTokenSpaceGuid.PcdFlashNvStorageVariableBase
|
|
|
|
gEfiMdeModulePkgTokenSpaceGuid.PcdFlashNvStorageVariableBase64
|
|
|
|
gEfiMdeModulePkgTokenSpaceGuid.PcdMaxVariableSize
|
|
|
|
gEfiMdeModulePkgTokenSpaceGuid.PcdMaxHardwareErrorVariableSize
|
|
|
|
gEfiMdeModulePkgTokenSpaceGuid.PcdVariableStoreSize
|
|
|
|
gEfiMdeModulePkgTokenSpaceGuid.PcdHwErrStorageSize
|
2011-10-28 11:55:09 +02:00
|
|
|
|
2011-09-02 09:49:32 +02:00
|
|
|
[FeaturePcd]
|
|
|
|
gEfiMdeModulePkgTokenSpaceGuid.PcdVariableCollectStatistics ## SOMETIME_CONSUMES (statistic the information of variable.)
|
|
|
|
|
|
|
|
[Depex]
|
2014-03-17 09:23:54 +01:00
|
|
|
TRUE
|
2011-09-02 09:49:32 +02:00
|
|
|
|
|
|
|
# [Event]
|
|
|
|
# ##
|
|
|
|
# # Event will be signaled for VIRTUAL_ADDRESS_CHANGE event.
|
|
|
|
# #
|
|
|
|
# EVENT_TYPE_NOTIFY_SIGNAL ## PRODUCES
|
|
|
|
#
|
|
|
|
#
|
2011-10-28 11:55:09 +02:00
|
|
|
|