]> git.proxmox.com Git - mirror_edk2.git/blob - MdeModulePkg/Universal/FaultTolerantWriteDxe/FaultTolerantWriteSmm.inf
105820c17b7d1af61461079e7e5a548a31f7d344
[mirror_edk2.git] / MdeModulePkg / Universal / FaultTolerantWriteDxe / FaultTolerantWriteSmm.inf
1 ## @file
2 # Fault Tolerant Write Smm Driver.
3 #
4 # This driver installs SMM Fault Tolerant Write (FTW) protocol, which provides fault
5 # tolerant write capability in SMM environment for block devices. Its implementation
6 # depends on the full functionality SMM FVB protocol that support read, write/erase
7 # flash access.
8 #
9 # Copyright (c) 2010 - 2014, Intel Corporation. All rights reserved.<BR>
10 #
11 # This program and the accompanying materials
12 # are licensed and made available under the terms and conditions of the BSD License
13 # which accompanies this distribution. The full text of the license may be found at
14 # http://opensource.org/licenses/bsd-license.php
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 ##
19
20 [Defines]
21 INF_VERSION = 0x00010005
22 BASE_NAME = SmmFaultTolerantWriteDxe
23 MODULE_UNI_FILE = SmmFaultTolerantWriteDxe.uni
24 FILE_GUID = 470CB248-E8AC-473c-BB4F-81069A1FE6FD
25 MODULE_TYPE = DXE_SMM_DRIVER
26 VERSION_STRING = 1.0
27 PI_SPECIFICATION_VERSION = 0x0001000A
28 ENTRY_POINT = SmmFaultTolerantWriteInitialize
29
30 #
31 # The following information is for reference only and not required by the build tools.
32 #
33 # VALID_ARCHITECTURES = IA32 X64
34 #
35
36 [Sources]
37 FtwMisc.c
38 UpdateWorkingBlock.c
39 FaultTolerantWrite.c
40 FaultTolerantWriteSmm.c
41 FaultTolerantWrite.h
42 FaultTolerantWriteSmmCommon.h
43
44 [Packages]
45 MdePkg/MdePkg.dec
46 MdeModulePkg/MdeModulePkg.dec
47
48 [LibraryClasses]
49 SmmServicesTableLib
50 MemoryAllocationLib
51 BaseMemoryLib
52 UefiDriverEntryPoint
53 DebugLib
54 UefiLib
55 PcdLib
56 ReportStatusCodeLib
57
58 [Guids]
59 #
60 # Signature in EFI_FAULT_TOLERANT_WORKING_BLOCK_HEADER
61 #
62 ## CONSUMES ## GUID
63 ## PRODUCES ## GUID
64 gEdkiiWorkingBlockSignatureGuid
65
66 [Protocols]
67 gEfiSmmSwapAddressRangeProtocolGuid | gEfiMdeModulePkgTokenSpaceGuid.PcdFullFtwServiceEnable ## SOMETIMES_CONSUMES
68 ## NOTIFY
69 ## CONSUMES
70 gEfiSmmFirmwareVolumeBlockProtocolGuid
71 ## PRODUCES
72 ## UNDEFINED # SmiHandlerRegister
73 gEfiSmmFaultTolerantWriteProtocolGuid
74 gEfiSmmAccess2ProtocolGuid ## CONSUMES
75 gEfiSmmEndOfDxeProtocolGuid ## CONSUMES
76
77 [FeaturePcd]
78 gEfiMdeModulePkgTokenSpaceGuid.PcdFullFtwServiceEnable ## CONSUMES
79
80 [Pcd]
81 gEfiMdeModulePkgTokenSpaceGuid.PcdFlashNvStorageFtwWorkingBase ## SOMETIMES_CONSUMES
82 gEfiMdeModulePkgTokenSpaceGuid.PcdFlashNvStorageFtwWorkingBase64 ## CONSUMES
83 gEfiMdeModulePkgTokenSpaceGuid.PcdFlashNvStorageFtwWorkingSize ## CONSUMES
84 gEfiMdeModulePkgTokenSpaceGuid.PcdFlashNvStorageFtwSpareBase ## SOMETIMES_CONSUMES
85 gEfiMdeModulePkgTokenSpaceGuid.PcdFlashNvStorageFtwSpareBase64 ## CONSUMES
86 gEfiMdeModulePkgTokenSpaceGuid.PcdFlashNvStorageFtwSpareSize ## CONSUMES
87
88 #
89 # gBS->CalculateCrc32() is consumed in EntryPoint.
90 # PI spec said: When the DXE Foundation is notified that the EFI_RUNTIME_ARCH_PROTOCOL
91 # has been installed, then the Boot Service CalculateCrc32() is available.
92 # So add gEfiRuntimeArchProtocolGuid Depex here.
93 #
94 [Depex]
95 gEfiSmmFirmwareVolumeBlockProtocolGuid AND gEfiRuntimeArchProtocolGuid
96
97 [UserExtensions.TianoCore."ExtraFiles"]
98 SmmFaultTolerantWriteDxeExtra.uni