• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1#/** @file
2#  INF file for the Variable Protocol implementation for the block device.
3#
4#  Copyright (c) 2015-2016, Linaro. All rights reserved.
5#  Copyright (c) 2015-2016, Hisilicon Limited. All rights reserved.
6#
7#  This program and the accompanying materials
8#  are licensed and made available under the terms and conditions of the BSD License
9#  which accompanies this distribution.  The full text of the license may be found at
10#  http://opensource.org/licenses/bsd-license.php
11#
12#  THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,
13#  WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
14#
15#**/
16
17[Defines]
18  INF_VERSION                    = 0x00010005
19  BASE_NAME                      = BlockVariableDxe
20  FILE_GUID                      = 522fc4a8-46d8-403e-a415-e2dbb1e0ebc0
21  MODULE_TYPE                    = DXE_DRIVER
22  VERSION_STRING                 = 1.0
23
24  ENTRY_POINT                    = BlockVariableDxeInitialize
25
26[Sources.common]
27  BlockVariableDxe.c
28
29[Packages]
30  MdePkg/MdePkg.dec
31  MdeModulePkg/MdeModulePkg.dec
32  OpenPlatformPkg/Drivers/Variable/BlockVariableDxe/BlockVariableDxe.dec
33
34[LibraryClasses]
35  ArmLib
36  BaseLib
37  BaseMemoryLib
38  CacheMaintenanceLib
39  IoLib
40  UefiDriverEntryPoint
41  UefiLib
42
43[Guids]
44  gEfiSystemNvDataFvGuid
45  gEfiVariableGuid
46  gEfiEventVirtualAddressChangeGuid
47
48[Protocols]
49  gEfiDevicePathProtocolGuid
50  gEfiBlockIoProtocolGuid			                                  ## CONSUMES
51  gEfiFirmwareVolumeBlockProtocolGuid
52
53[Pcd]
54  gEfiMdeModulePkgTokenSpaceGuid.PcdFlashNvStorageVariableBase                    ## CONSUMES
55  gEfiMdeModulePkgTokenSpaceGuid.PcdFlashNvStorageVariableSize                    ## CONSUMES
56  gEfiMdeModulePkgTokenSpaceGuid.PcdFlashNvStorageFtwWorkingSize                  ## CONSUMES
57  gEfiMdeModulePkgTokenSpaceGuid.PcdFlashNvStorageFtwSpareSize                    ## CONSUMES
58  gBlockVariableDxeTokenSpaceGuid.PcdNvStorageVariableBlockCount                  ## CONSUMES
59  gBlockVariableDxeTokenSpaceGuid.PcdNvStorageVariableBlockSize                   ## CONSUMES
60  gBlockVariableDxeTokenSpaceGuid.PcdNvStorageVariableBlockLba                    ## CONSUMES
61  gBlockVariableDxeTokenSpaceGuid.PcdNvStorageVariableBlockDevicePath             ## CONSUMES
62
63[Depex]
64  BEFORE gVariableRuntimeGuid
65