]>
Commit | Line | Data |
---|---|---|
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 |
8db39c60 MK |
49 | SafeIntLib\r |
50 | VariableFlashInfoLib\r | |
85e923a5 LG |
51 | \r |
52 | [Guids]\r | |
6036e94d SZ |
53 | #\r |
54 | # Signature in EFI_FAULT_TOLERANT_WORKING_BLOCK_HEADER\r | |
55 | #\r | |
56 | ## CONSUMES ## GUID\r | |
57 | ## PRODUCES ## GUID\r | |
58 | gEdkiiWorkingBlockSignatureGuid\r | |
85e923a5 LG |
59 | \r |
60 | [Protocols]\r | |
6036e94d SZ |
61 | gEfiSwapAddressRangeProtocolGuid | gEfiMdeModulePkgTokenSpaceGuid.PcdFullFtwServiceEnable ## SOMETIMES_CONSUMES\r |
62 | ## NOTIFY\r | |
63 | ## CONSUMES\r | |
64 | gEfiFirmwareVolumeBlockProtocolGuid\r | |
85e923a5 LG |
65 | gEfiFaultTolerantWriteProtocolGuid ## PRODUCES\r |
66 | \r | |
67 | [FeaturePcd]\r | |
6036e94d | 68 | gEfiMdeModulePkgTokenSpaceGuid.PcdFullFtwServiceEnable ## CONSUMES\r |
85e923a5 | 69 | \r |
bad2be3e SZ |
70 | #\r |
71 | # gBS->CalculateCrc32() is consumed in EntryPoint.\r | |
72 | # PI spec said: When the DXE Foundation is notified that the EFI_RUNTIME_ARCH_PROTOCOL\r | |
73 | # has been installed, then the Boot Service CalculateCrc32() is available.\r | |
74 | # So add gEfiRuntimeArchProtocolGuid Depex here.\r | |
75 | #\r | |
85e923a5 | 76 | [Depex]\r |
bad2be3e | 77 | gEfiFirmwareVolumeBlockProtocolGuid AND gEfiRuntimeArchProtocolGuid\r |
85e923a5 | 78 | \r |
6036e94d SZ |
79 | [UserExtensions.TianoCore."ExtraFiles"]\r |
80 | FaultTolerantWriteDxeExtra.uni\r |