]>
Commit | Line | Data |
---|---|---|
6bfbb5f0 | 1 | ## @file\r |
6036e94d SZ |
2 | # Fault Tolerant Write Dxe Driver.\r |
3 | #\r | |
85e923a5 LG |
4 | # This driver installs Fault Tolerant Write (FTW) protocol, \r |
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 | |
bad2be3e | 8 | # Copyright (c) 2006 - 2014, Intel Corporation. All rights reserved.<BR>\r |
85e923a5 | 9 | #\r |
e5eed7d3 | 10 | # This program and the accompanying materials\r |
85e923a5 LG |
11 | # are licensed and made available under the terms and conditions of the BSD License\r |
12 | # which accompanies this distribution. The full text of the license may be found at\r | |
13 | # http://opensource.org/licenses/bsd-license.php\r | |
14 | # THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,\r | |
15 | # WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.\r | |
16 | #\r | |
6bfbb5f0 | 17 | ##\r |
85e923a5 LG |
18 | \r |
19 | [Defines]\r | |
20 | INF_VERSION = 0x00010005\r | |
21 | BASE_NAME = FaultTolerantWriteDxe\r | |
6036e94d | 22 | MODULE_UNI_FILE = FaultTolerantWriteDxe.uni\r |
85e923a5 LG |
23 | FILE_GUID = FE5CEA76-4F72-49e8-986F-2CD899DFFE5D\r |
24 | MODULE_TYPE = DXE_DRIVER\r | |
25 | VERSION_STRING = 1.0\r | |
8a2d4996 | 26 | ENTRY_POINT = FaultTolerantWriteInitialize\r |
85e923a5 LG |
27 | \r |
28 | #\r | |
29 | # The following information is for reference only and not required by the build tools.\r | |
30 | #\r | |
31 | # VALID_ARCHITECTURES = IA32 X64 IPF EBC\r | |
32 | #\r | |
33 | \r | |
6bfbb5f0 | 34 | [Sources]\r |
85e923a5 LG |
35 | FtwMisc.c\r |
36 | UpdateWorkingBlock.c\r | |
37 | FaultTolerantWrite.c\r | |
8a2d4996 | 38 | FaultTolerantWriteDxe.c\r |
85e923a5 LG |
39 | FaultTolerantWrite.h\r |
40 | \r | |
41 | [Packages]\r | |
42 | MdePkg/MdePkg.dec\r | |
43 | MdeModulePkg/MdeModulePkg.dec\r | |
44 | \r | |
45 | [LibraryClasses]\r | |
46 | UefiBootServicesTableLib\r | |
47 | MemoryAllocationLib\r | |
48 | BaseMemoryLib\r | |
49 | UefiDriverEntryPoint\r | |
50 | DebugLib\r | |
93367605 | 51 | UefiLib\r |
a326830d | 52 | PcdLib\r |
2c4b18e0 | 53 | ReportStatusCodeLib\r |
85e923a5 LG |
54 | \r |
55 | [Guids]\r | |
6036e94d SZ |
56 | #\r |
57 | # Signature in EFI_FAULT_TOLERANT_WORKING_BLOCK_HEADER\r | |
58 | #\r | |
59 | ## CONSUMES ## GUID\r | |
60 | ## PRODUCES ## GUID\r | |
61 | gEdkiiWorkingBlockSignatureGuid\r | |
85e923a5 LG |
62 | \r |
63 | [Protocols]\r | |
6036e94d SZ |
64 | gEfiSwapAddressRangeProtocolGuid | gEfiMdeModulePkgTokenSpaceGuid.PcdFullFtwServiceEnable ## SOMETIMES_CONSUMES\r |
65 | ## NOTIFY\r | |
66 | ## CONSUMES\r | |
67 | gEfiFirmwareVolumeBlockProtocolGuid\r | |
85e923a5 LG |
68 | gEfiFaultTolerantWriteProtocolGuid ## PRODUCES\r |
69 | \r | |
70 | [FeaturePcd]\r | |
6036e94d | 71 | gEfiMdeModulePkgTokenSpaceGuid.PcdFullFtwServiceEnable ## CONSUMES\r |
85e923a5 LG |
72 | \r |
73 | [Pcd]\r | |
6036e94d SZ |
74 | gEfiMdeModulePkgTokenSpaceGuid.PcdFlashNvStorageFtwWorkingBase ## SOMETIMES_CONSUMES\r |
75 | gEfiMdeModulePkgTokenSpaceGuid.PcdFlashNvStorageFtwWorkingBase64 ## CONSUMES\r | |
76 | gEfiMdeModulePkgTokenSpaceGuid.PcdFlashNvStorageFtwWorkingSize ## CONSUMES\r | |
77 | gEfiMdeModulePkgTokenSpaceGuid.PcdFlashNvStorageFtwSpareBase ## SOMETIMES_CONSUMES\r | |
78 | gEfiMdeModulePkgTokenSpaceGuid.PcdFlashNvStorageFtwSpareBase64 ## CONSUMES\r | |
79 | gEfiMdeModulePkgTokenSpaceGuid.PcdFlashNvStorageFtwSpareSize ## CONSUMES\r | |
85e923a5 | 80 | \r |
bad2be3e SZ |
81 | #\r |
82 | # gBS->CalculateCrc32() is consumed in EntryPoint.\r | |
83 | # PI spec said: When the DXE Foundation is notified that the EFI_RUNTIME_ARCH_PROTOCOL\r | |
84 | # has been installed, then the Boot Service CalculateCrc32() is available.\r | |
85 | # So add gEfiRuntimeArchProtocolGuid Depex here.\r | |
86 | #\r | |
85e923a5 | 87 | [Depex]\r |
bad2be3e | 88 | gEfiFirmwareVolumeBlockProtocolGuid AND gEfiRuntimeArchProtocolGuid\r |
85e923a5 | 89 | \r |
6036e94d SZ |
90 | [UserExtensions.TianoCore."ExtraFiles"]\r |
91 | FaultTolerantWriteDxeExtra.uni\r |