1## @file
2# This driver implement the EFI_SMM_FIRMWARE_VOLUMEN_PROTOCOL.
3#
4# Copyright (c) 2010 - 2014, Intel Corporation. All rights reserved.<BR>
5#
6
7# This program and the accompanying materials are licensed and made available under
8
9# the terms and conditions of the BSD License that accompanies this distribution.
10
11# The full text of the license may be found at
12
13# http://opensource.org/licenses/bsd-license.php.
14
15#
16
17# THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,
18
19# WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
20
21#
22
23#
24#
25#
26##
27
28[Defines]
29  INF_VERSION                    = 0x00010005
30  BASE_NAME                      = FvbSmm
31  FILE_GUID                      = A4EC8ADB-B7A8-47d1-8E52-EC820D0ACF6F
32  MODULE_TYPE                    = DXE_SMM_DRIVER
33  VERSION_STRING                 = 1.0
34  PI_SPECIFICATION_VERSION       = 0x0001000A
35  ENTRY_POINT                    = FvbSmmInitialize
36
37#
38# The following information is for reference only and not required by the build tools.
39#
40#  VALID_ARCHITECTURES           = IA32 X64
41#
42#  VIRTUAL_ADDRESS_MAP_CALLBACK  =  FvbVirtualddressChangeEvent
43#
44
45[Sources]
46  FvbInfo.c
47  FvbService.h
48  FvbService.c
49  FvbServiceSmm.c
50  FvbSmmCommon.h
51
52[Packages]
53  MdePkg/MdePkg.dec
54  MdeModulePkg/MdeModulePkg.dec
55  Vlv2TbltDevicePkg/PlatformPkg.dec
56  Vlv2DeviceRefCodePkg/Vlv2DeviceRefCodePkg.dec
57
58[LibraryClasses]
59  FlashDeviceLib
60  PcdLib
61  MemoryAllocationLib
62  CacheMaintenanceLib
63  IoLib
64  BaseMemoryLib
65  DebugLib
66  BaseLib
67  UefiLib
68  SmmLib
69  SmmServicesTableLib
70  UefiBootServicesTableLib
71  UefiDriverEntryPoint
72
73[Guids]
74  gEfiFirmwareFileSystem2Guid                   # ALWAYS_CONSUMED
75  gEfiSystemNvDataFvGuid                        # ALWAYS_CONSUMED
76  gEfiEventVirtualAddressChangeGuid
77
78[Protocols]
79  gEfiDevicePathProtocolGuid                    # PROTOCOL ALWAYS_PRODUCED
80  gEfiSmmFirmwareVolumeBlockProtocolGuid        # PROTOCOL ALWAYS_PRODUCED
81
82[FixedPcd]
83  gPlatformModuleTokenSpaceGuid.PcdFlashFvMainBase
84  gEfiMdeModulePkgTokenSpaceGuid.PcdFlashNvStorageVariableBase
85  gPlatformModuleTokenSpaceGuid.PcdFlashFvRecoveryBase
86
87[Pcd]
88  gPlatformModuleTokenSpaceGuid.PcdFlashFvMainSize
89  gPlatformModuleTokenSpaceGuid.PcdFlashFvRecoverySize
90  gEfiMdeModulePkgTokenSpaceGuid.PcdFlashNvStorageVariableSize
91  gEfiMdeModulePkgTokenSpaceGuid.PcdFlashNvStorageFtwWorkingSize
92  gEfiMdeModulePkgTokenSpaceGuid.PcdFlashNvStorageFtwSpareSize
93
94[Depex]
95  gEfiSmmSpiProtocolGuid
96
97