]> git.proxmox.com Git - mirror_edk2.git/blob - MdeModulePkg/Universal/FaultTolerantWriteDxe/FaultTolerantWriteSmm.inf
Add SMM Variable implementation.
[mirror_edk2.git] / MdeModulePkg / Universal / FaultTolerantWriteDxe / FaultTolerantWriteSmm.inf
1 ## @file
2 # This driver installs SMM Fault Tolerant Write (FTW) protocol, which provides fault
3 # tolerant write capability in SMM environment for block devices. Its implementation
4 # depends on the full functionality SMM FVB protocol that support read, write/erase
5 # flash access.
6 #
7 # Copyright (c) 2010, Intel Corporation. All rights reserved.<BR>
8 #
9 # This program and the accompanying materials
10 # are licensed and made available under the terms and conditions of the BSD License
11 # which accompanies this distribution. The full text of the license may be found at
12 # http://opensource.org/licenses/bsd-license.php
13 # THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,
14 # WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
15 #
16 ##
17
18 [Defines]
19 INF_VERSION = 0x00010005
20 BASE_NAME = SmmFaultTolerantWriteDxe
21 FILE_GUID = 470CB248-E8AC-473c-BB4F-81069A1FE6FD
22 MODULE_TYPE = DXE_SMM_DRIVER
23 VERSION_STRING = 1.0
24 PI_SPECIFICATION_VERSION = 0x0001000A
25 ENTRY_POINT = SmmFaultTolerantWriteInitialize
26
27 #
28 # The following information is for reference only and not required by the build tools.
29 #
30 # VALID_ARCHITECTURES = IA32 X64
31 #
32
33 [Sources]
34 FtwMisc.c
35 UpdateWorkingBlock.c
36 FaultTolerantWrite.c
37 FaultTolerantWriteSmm.c
38 FaultTolerantWrite.h
39
40 [Packages]
41 MdePkg/MdePkg.dec
42 MdeModulePkg/MdeModulePkg.dec
43
44 [LibraryClasses]
45 SmmServicesTableLib
46 MemoryAllocationLib
47 BaseMemoryLib
48 UefiDriverEntryPoint
49 DebugLib
50 UefiLib
51
52 [Guids]
53 gEfiSystemNvDataFvGuid ## CONSUMES ## FV Signature of Working Space Header
54
55 [Protocols]
56 gEfiSmmSwapAddressRangeProtocolGuid | PcdFullFtwServiceEnable ## CONSUMES
57 gEfiSmmFirmwareVolumeBlockProtocolGuid ## CONSUMES
58 gEfiSmmFaultTolerantWriteProtocolGuid ## PRODUCES
59
60 [FeaturePcd]
61 gEfiMdeModulePkgTokenSpaceGuid.PcdFullFtwServiceEnable
62
63 [Pcd]
64 gEfiMdeModulePkgTokenSpaceGuid.PcdFlashNvStorageFtwWorkingBase
65 gEfiMdeModulePkgTokenSpaceGuid.PcdFlashNvStorageFtwWorkingBase64
66 gEfiMdeModulePkgTokenSpaceGuid.PcdFlashNvStorageFtwWorkingSize
67 gEfiMdeModulePkgTokenSpaceGuid.PcdFlashNvStorageFtwSpareBase
68 gEfiMdeModulePkgTokenSpaceGuid.PcdFlashNvStorageFtwSpareBase64
69 gEfiMdeModulePkgTokenSpaceGuid.PcdFlashNvStorageFtwSpareSize
70
71 [Depex]
72 gEfiSmmFirmwareVolumeBlockProtocolGuid
73