2 # Fault Tolerant Write Dxe Driver.
4 # This driver installs Fault Tolerant Write (FTW) protocol,
5 # which provides fault tolerant write capability for block devices.
6 # Its implementation depends on the full functionality FVB protocol that support read, write/erase flash access.
8 # Copyright (c) 2006 - 2018, Intel Corporation. All rights reserved.<BR>
10 # SPDX-License-Identifier: BSD-2-Clause-Patent
15 INF_VERSION = 0x00010005
16 BASE_NAME = FaultTolerantWriteDxe
17 MODULE_UNI_FILE = FaultTolerantWriteDxe.uni
18 FILE_GUID = FE5CEA76-4F72-49e8-986F-2CD899DFFE5D
19 MODULE_TYPE = DXE_DRIVER
21 ENTRY_POINT = FaultTolerantWriteInitialize
24 # The following information is for reference only and not required by the build tools.
26 # VALID_ARCHITECTURES = IA32 X64 EBC
33 FaultTolerantWriteDxe.c
38 MdeModulePkg/MdeModulePkg.dec
41 UefiBootServicesTableLib
52 # Signature in EFI_FAULT_TOLERANT_WORKING_BLOCK_HEADER
56 gEdkiiWorkingBlockSignatureGuid
59 gEfiSwapAddressRangeProtocolGuid | gEfiMdeModulePkgTokenSpaceGuid.PcdFullFtwServiceEnable ## SOMETIMES_CONSUMES
62 gEfiFirmwareVolumeBlockProtocolGuid
63 gEfiFaultTolerantWriteProtocolGuid ## PRODUCES
66 gEfiMdeModulePkgTokenSpaceGuid.PcdFullFtwServiceEnable ## CONSUMES
69 gEfiMdeModulePkgTokenSpaceGuid.PcdFlashNvStorageFtwWorkingBase ## SOMETIMES_CONSUMES
70 gEfiMdeModulePkgTokenSpaceGuid.PcdFlashNvStorageFtwWorkingBase64 ## CONSUMES
71 gEfiMdeModulePkgTokenSpaceGuid.PcdFlashNvStorageFtwWorkingSize ## CONSUMES
72 gEfiMdeModulePkgTokenSpaceGuid.PcdFlashNvStorageFtwSpareBase ## SOMETIMES_CONSUMES
73 gEfiMdeModulePkgTokenSpaceGuid.PcdFlashNvStorageFtwSpareBase64 ## CONSUMES
74 gEfiMdeModulePkgTokenSpaceGuid.PcdFlashNvStorageFtwSpareSize ## CONSUMES
77 # gBS->CalculateCrc32() is consumed in EntryPoint.
78 # PI spec said: When the DXE Foundation is notified that the EFI_RUNTIME_ARCH_PROTOCOL
79 # has been installed, then the Boot Service CalculateCrc32() is available.
80 # So add gEfiRuntimeArchProtocolGuid Depex here.
83 gEfiFirmwareVolumeBlockProtocolGuid AND gEfiRuntimeArchProtocolGuid
85 [UserExtensions.TianoCore."ExtraFiles"]
86 FaultTolerantWriteDxeExtra.uni