]>
Commit | Line | Data |
---|---|---|
1 | ## @file\r | |
2 | # Fault Tolerant Write Dxe Driver.\r | |
3 | #\r | |
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 | |
8 | # Copyright (c) 2006 - 2018, Intel Corporation. All rights reserved.<BR>\r | |
9 | #\r | |
10 | # SPDX-License-Identifier: BSD-2-Clause-Patent\r | |
11 | #\r | |
12 | ##\r | |
13 | \r | |
14 | [Defines]\r | |
15 | INF_VERSION = 0x00010005\r | |
16 | BASE_NAME = FaultTolerantWriteDxe\r | |
17 | MODULE_UNI_FILE = FaultTolerantWriteDxe.uni\r | |
18 | FILE_GUID = FE5CEA76-4F72-49e8-986F-2CD899DFFE5D\r | |
19 | MODULE_TYPE = DXE_DRIVER\r | |
20 | VERSION_STRING = 1.0\r | |
21 | ENTRY_POINT = FaultTolerantWriteInitialize\r | |
22 | \r | |
23 | #\r | |
24 | # The following information is for reference only and not required by the build tools.\r | |
25 | #\r | |
26 | # VALID_ARCHITECTURES = IA32 X64 EBC\r | |
27 | #\r | |
28 | \r | |
29 | [Sources]\r | |
30 | FtwMisc.c\r | |
31 | UpdateWorkingBlock.c\r | |
32 | FaultTolerantWrite.c\r | |
33 | FaultTolerantWriteDxe.c\r | |
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 | |
46 | UefiLib\r | |
47 | PcdLib\r | |
48 | ReportStatusCodeLib\r | |
49 | \r | |
50 | [Guids]\r | |
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 | |
57 | \r | |
58 | [Protocols]\r | |
59 | gEfiSwapAddressRangeProtocolGuid | gEfiMdeModulePkgTokenSpaceGuid.PcdFullFtwServiceEnable ## SOMETIMES_CONSUMES\r | |
60 | ## NOTIFY\r | |
61 | ## CONSUMES\r | |
62 | gEfiFirmwareVolumeBlockProtocolGuid\r | |
63 | gEfiFaultTolerantWriteProtocolGuid ## PRODUCES\r | |
64 | \r | |
65 | [FeaturePcd]\r | |
66 | gEfiMdeModulePkgTokenSpaceGuid.PcdFullFtwServiceEnable ## CONSUMES\r | |
67 | \r | |
68 | [Pcd]\r | |
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 | |
75 | \r | |
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 | |
82 | [Depex]\r | |
83 | gEfiFirmwareVolumeBlockProtocolGuid AND gEfiRuntimeArchProtocolGuid\r | |
84 | \r | |
85 | [UserExtensions.TianoCore."ExtraFiles"]\r | |
86 | FaultTolerantWriteDxeExtra.uni\r |