1## @file
2#
3# Caution: This file is used for Duet platform only, do not use them in real platform.
4# All variable code, variable metadata, and variable data used by Duet platform are on
5# disk. They can be changed by user. BIOS is not able to protoect those.
6# Duet trusts all meta data from disk. If variable code, variable metadata and variable
7# data is modified in inproper way, the behavior is undefined.
8#
9# Copyright (c) 2006 - 2010, Intel Corporation. All rights reserved.<BR>
10# This program and the accompanying materials
11# are licensed and made available under the terms and conditions of the BSD License
12# which accompanies this distribution.  The full text of the license may be found at
13# http://opensource.org/licenses/bsd-license.php
14#
15# THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,
16# WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
17#
18#  Module Name:
19#
20#   FSVariable.inf
21#
22#  Abstract:
23#
24#    Component description file for variable module
25#
26##
27
28[Defines]
29  INF_VERSION                    = 0x00010005
30  BASE_NAME                      = FSVariable
31  FILE_GUID                      = A36495C1-C205-414e-B71F-4BE3476D699C
32  MODULE_TYPE                    = DXE_RUNTIME_DRIVER
33  VERSION_STRING                 = 1.0
34  ENTRY_POINT                    = VariableServiceInitialize
35
36[Packages]
37  MdePkg/MdePkg.dec
38  DuetPkg/DuetPkg.dec
39  MdeModulePkg/MdeModulePkg.dec
40
41[Sources]
42  FSVariable.h
43  VariableStorage.h
44  FSVariable.c
45  FileStorage.c
46  MemStorage.c
47
48[LibraryClasses]
49  PcdLib
50  BaseMemoryLib
51  BaseLib
52  UefiBootServicesTableLib
53  UefiRuntimeLib
54  DebugLib
55  UefiLib
56  HobLib
57  DxeServicesTableLib
58  DevicePathLib
59  UefiDriverEntryPoint
60  MemoryAllocationLib
61
62[Guids]
63  gEfiFlashMapHobGuid
64  gEfiVariableGuid
65  gEfiGlobalVariableGuid                        ## PRODUCES ## Variable Guid
66
67[Protocols]
68  gEfiVariableArchProtocolGuid
69  gEfiVariableWriteArchProtocolGuid
70  gEfiSimpleFileSystemProtocolGuid
71  gEfiBlockIoProtocolGuid
72
73[Pcd]
74  gEfiMdeModulePkgTokenSpaceGuid.PcdMaxVariableSize
75  gEfiMdeModulePkgTokenSpaceGuid.PcdMaxHardwareErrorVariableSize
76  gEfiMdeModulePkgTokenSpaceGuid.PcdVariableStoreSize
77  gEfiMdeModulePkgTokenSpaceGuid.PcdHwErrStorageSize
78
79[Depex]
80  TRUE
81