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 - 2014, Intel Corporation. All rights reserved.<BR>
10 # This program and the accompanying materials
11 # are licensed and made available under the terms and conditions of the BSD License
12 # which accompanies this distribution. The full text of the license may be found at
13 # http://opensource.org/licenses/bsd-license.php
14 # THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,
15 # WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
20 INF_VERSION = 0x00010005
21 BASE_NAME = FaultTolerantWriteDxe
22 MODULE_UNI_FILE = FaultTolerantWriteDxe.uni
23 FILE_GUID = FE5CEA76-4F72-49e8-986F-2CD899DFFE5D
24 MODULE_TYPE = DXE_DRIVER
26 ENTRY_POINT = FaultTolerantWriteInitialize
29 # The following information is for reference only and not required by the build tools.
31 # VALID_ARCHITECTURES = IA32 X64 IPF EBC
38 FaultTolerantWriteDxe.c
43 MdeModulePkg/MdeModulePkg.dec
46 UefiBootServicesTableLib
57 # Signature in EFI_FAULT_TOLERANT_WORKING_BLOCK_HEADER
61 gEdkiiWorkingBlockSignatureGuid
64 gEfiSwapAddressRangeProtocolGuid | gEfiMdeModulePkgTokenSpaceGuid.PcdFullFtwServiceEnable ## SOMETIMES_CONSUMES
67 gEfiFirmwareVolumeBlockProtocolGuid
68 gEfiFaultTolerantWriteProtocolGuid ## PRODUCES
71 gEfiMdeModulePkgTokenSpaceGuid.PcdFullFtwServiceEnable ## CONSUMES
74 gEfiMdeModulePkgTokenSpaceGuid.PcdFlashNvStorageFtwWorkingBase ## SOMETIMES_CONSUMES
75 gEfiMdeModulePkgTokenSpaceGuid.PcdFlashNvStorageFtwWorkingBase64 ## CONSUMES
76 gEfiMdeModulePkgTokenSpaceGuid.PcdFlashNvStorageFtwWorkingSize ## CONSUMES
77 gEfiMdeModulePkgTokenSpaceGuid.PcdFlashNvStorageFtwSpareBase ## SOMETIMES_CONSUMES
78 gEfiMdeModulePkgTokenSpaceGuid.PcdFlashNvStorageFtwSpareBase64 ## CONSUMES
79 gEfiMdeModulePkgTokenSpaceGuid.PcdFlashNvStorageFtwSpareSize ## CONSUMES
82 # gBS->CalculateCrc32() is consumed in EntryPoint.
83 # PI spec said: When the DXE Foundation is notified that the EFI_RUNTIME_ARCH_PROTOCOL
84 # has been installed, then the Boot Service CalculateCrc32() is available.
85 # So add gEfiRuntimeArchProtocolGuid Depex here.
88 gEfiFirmwareVolumeBlockProtocolGuid AND gEfiRuntimeArchProtocolGuid
90 [UserExtensions.TianoCore."ExtraFiles"]
91 FaultTolerantWriteDxeExtra.uni