]> git.proxmox.com Git - mirror_edk2.git/blame - MdeModulePkg/Universal/FaultTolerantWriteDxe/FaultTolerantWriteDxe.inf
MdeModulePkg: Replace BSD License with BSD+Patent License
[mirror_edk2.git] / MdeModulePkg / Universal / FaultTolerantWriteDxe / FaultTolerantWriteDxe.inf
CommitLineData
6bfbb5f0 1## @file\r
6036e94d
SZ
2# Fault Tolerant Write Dxe Driver.\r
3#\r
d1102dba 4# This driver installs Fault Tolerant Write (FTW) protocol,\r
85e923a5
LG
5# which provides fault tolerant write capability for block devices.\r
6# Its implementation depends on the full functionality FVB protocol that support read, write/erase flash access.\r
7#\r
d1102dba 8# Copyright (c) 2006 - 2018, Intel Corporation. All rights reserved.<BR>\r
85e923a5 9#\r
9d510e61 10# SPDX-License-Identifier: BSD-2-Clause-Patent\r
85e923a5 11#\r
6bfbb5f0 12##\r
85e923a5
LG
13\r
14[Defines]\r
15 INF_VERSION = 0x00010005\r
16 BASE_NAME = FaultTolerantWriteDxe\r
6036e94d 17 MODULE_UNI_FILE = FaultTolerantWriteDxe.uni\r
85e923a5
LG
18 FILE_GUID = FE5CEA76-4F72-49e8-986F-2CD899DFFE5D\r
19 MODULE_TYPE = DXE_DRIVER\r
20 VERSION_STRING = 1.0\r
8a2d4996 21 ENTRY_POINT = FaultTolerantWriteInitialize\r
85e923a5
LG
22\r
23#\r
24# The following information is for reference only and not required by the build tools.\r
25#\r
de005223 26# VALID_ARCHITECTURES = IA32 X64 EBC\r
85e923a5
LG
27#\r
28\r
6bfbb5f0 29[Sources]\r
85e923a5
LG
30 FtwMisc.c\r
31 UpdateWorkingBlock.c\r
32 FaultTolerantWrite.c\r
8a2d4996 33 FaultTolerantWriteDxe.c\r
85e923a5
LG
34 FaultTolerantWrite.h\r
35\r
36[Packages]\r
37 MdePkg/MdePkg.dec\r
38 MdeModulePkg/MdeModulePkg.dec\r
39\r
40[LibraryClasses]\r
41 UefiBootServicesTableLib\r
42 MemoryAllocationLib\r
43 BaseMemoryLib\r
44 UefiDriverEntryPoint\r
45 DebugLib\r
93367605 46 UefiLib\r
a326830d 47 PcdLib\r
2c4b18e0 48 ReportStatusCodeLib\r
85e923a5
LG
49\r
50[Guids]\r
6036e94d
SZ
51 #\r
52 # Signature in EFI_FAULT_TOLERANT_WORKING_BLOCK_HEADER\r
53 #\r
54 ## CONSUMES ## GUID\r
55 ## PRODUCES ## GUID\r
56 gEdkiiWorkingBlockSignatureGuid\r
85e923a5
LG
57\r
58[Protocols]\r
6036e94d
SZ
59 gEfiSwapAddressRangeProtocolGuid | gEfiMdeModulePkgTokenSpaceGuid.PcdFullFtwServiceEnable ## SOMETIMES_CONSUMES\r
60 ## NOTIFY\r
61 ## CONSUMES\r
62 gEfiFirmwareVolumeBlockProtocolGuid\r
85e923a5
LG
63 gEfiFaultTolerantWriteProtocolGuid ## PRODUCES\r
64\r
65[FeaturePcd]\r
6036e94d 66 gEfiMdeModulePkgTokenSpaceGuid.PcdFullFtwServiceEnable ## CONSUMES\r
85e923a5
LG
67\r
68[Pcd]\r
6036e94d
SZ
69 gEfiMdeModulePkgTokenSpaceGuid.PcdFlashNvStorageFtwWorkingBase ## SOMETIMES_CONSUMES\r
70 gEfiMdeModulePkgTokenSpaceGuid.PcdFlashNvStorageFtwWorkingBase64 ## CONSUMES\r
71 gEfiMdeModulePkgTokenSpaceGuid.PcdFlashNvStorageFtwWorkingSize ## CONSUMES\r
72 gEfiMdeModulePkgTokenSpaceGuid.PcdFlashNvStorageFtwSpareBase ## SOMETIMES_CONSUMES\r
73 gEfiMdeModulePkgTokenSpaceGuid.PcdFlashNvStorageFtwSpareBase64 ## CONSUMES\r
74 gEfiMdeModulePkgTokenSpaceGuid.PcdFlashNvStorageFtwSpareSize ## CONSUMES\r
85e923a5 75\r
bad2be3e
SZ
76#\r
77# gBS->CalculateCrc32() is consumed in EntryPoint.\r
78# PI spec said: When the DXE Foundation is notified that the EFI_RUNTIME_ARCH_PROTOCOL\r
79# has been installed, then the Boot Service CalculateCrc32() is available.\r
80# So add gEfiRuntimeArchProtocolGuid Depex here.\r
81#\r
85e923a5 82[Depex]\r
bad2be3e 83 gEfiFirmwareVolumeBlockProtocolGuid AND gEfiRuntimeArchProtocolGuid\r
85e923a5 84\r
6036e94d
SZ
85[UserExtensions.TianoCore."ExtraFiles"]\r
86 FaultTolerantWriteDxeExtra.uni\r