2007-07-19 12:09:07 +02:00
|
|
|
#/** @file
|
|
|
|
# Component description file for Variable module.
|
|
|
|
#
|
|
|
|
# This module installs three EFI_RUNTIME_SERVICES: SetVariable, GetVariable, GetNextVariableName.
|
|
|
|
# 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 = VariableRuntimeDxe
|
|
|
|
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
|
|
|
|
#
|
|
|
|
|
|
|
|
[Sources.common]
|
2008-12-14 06:40:01 +01:00
|
|
|
Reclaim.c
|
2007-07-19 12:09:07 +02:00
|
|
|
Variable.c
|
|
|
|
Variable.h
|
|
|
|
|
|
|
|
[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
|
|
|
|
|
|
|
|
[Protocols]
|
2009-02-03 01:31:26 +01:00
|
|
|
gEfiFirmwareVolumeBlockProtocolGuid ## SOMETIMES_CONSUMES
|
|
|
|
gEfiVariableWriteArchProtocolGuid ## ALWAYS_PRODUCES
|
|
|
|
gEfiVariableArchProtocolGuid ## ALWAYS_PRODUCES
|
2009-03-04 02:27:50 +01:00
|
|
|
gEfiFaultTolerantWriteProtocolGuid ## SOMETIMES_CONSUMES
|
2007-07-19 12:09:07 +02:00
|
|
|
|
2007-10-04 23:01:21 +02:00
|
|
|
[Guids]
|
2009-02-27 06:35:08 +01:00
|
|
|
gEfiVariableGuid ## PRODUCES ## Configuration Table Guid
|
2009-02-03 01:31:26 +01:00
|
|
|
gEfiGlobalVariableGuid ## PRODUCES ## Variable Guid
|
2009-02-03 12:09:53 +01:00
|
|
|
gEfiEventVirtualAddressChangeGuid ## PRODUCES ## Event
|
2007-10-04 23:01:21 +02:00
|
|
|
|
2007-08-30 11:11:54 +02:00
|
|
|
[Pcd.common]
|
|
|
|
gEfiMdeModulePkgTokenSpaceGuid.PcdFlashNvStorageVariableSize
|
|
|
|
gEfiMdeModulePkgTokenSpaceGuid.PcdFlashNvStorageVariableBase
|
2007-11-05 17:11:50 +01:00
|
|
|
gEfiMdeModulePkgTokenSpaceGuid.PcdMaxVariableSize
|
|
|
|
gEfiMdeModulePkgTokenSpaceGuid.PcdMaxHardwareErrorVariableSize
|
|
|
|
gEfiMdeModulePkgTokenSpaceGuid.PcdVariableStoreSize
|
2009-04-07 08:42:12 +02:00
|
|
|
gEfiMdeModulePkgTokenSpaceGuid.PcdHwErrStorageSize
|
2007-10-04 23:01:21 +02:00
|
|
|
|
2007-10-05 00:45:11 +02:00
|
|
|
[FeaturePcd.common]
|
2009-02-25 14:08:46 +01:00
|
|
|
gEfiMdeModulePkgTokenSpaceGuid.PcdVariableCollectStatistics ## SOMETIME_CONSUMES (statistic the information of variable.)
|
2007-07-19 12:09:07 +02:00
|
|
|
|
|
|
|
[Depex]
|
2009-03-04 02:27:50 +01:00
|
|
|
gEfiFirmwareVolumeBlockProtocolGuid AND gEfiFaultTolerantWriteProtocolGuid
|
2007-07-19 12:09:07 +02:00
|
|
|
|
2009-02-03 01:31:26 +01:00
|
|
|
# [Event]
|
|
|
|
# ##
|
|
|
|
# # Event will be signaled for VIRTUAL_ADDRESS_CHANGE event.
|
|
|
|
# #
|
|
|
|
# EVENT_TYPE_NOTIFY_SIGNAL ## PRODUCES
|
|
|
|
#
|
|
|
|
#
|