]> git.proxmox.com Git - mirror_edk2.git/blame_incremental - MdeModulePkg/Universal/FaultTolerantWriteDxe/FaultTolerantWriteSmm.inf
MdeModulePkg/CapsulePei: Change debug MACRO
[mirror_edk2.git] / MdeModulePkg / Universal / FaultTolerantWriteDxe / FaultTolerantWriteSmm.inf
... / ...
CommitLineData
1## @file\r
2# Fault Tolerant Write Smm Driver.\r
3#\r
4# This driver installs SMM Fault Tolerant Write (FTW) protocol, which provides fault\r
5# tolerant write capability in SMM environment for block devices. Its implementation\r
6# depends on the full functionality SMM FVB protocol that support read, write/erase\r
7# flash access.\r
8#\r
9# Copyright (c) 2010 - 2018, Intel Corporation. All rights reserved.<BR>\r
10#\r
11# SPDX-License-Identifier: BSD-2-Clause-Patent\r
12#\r
13##\r
14\r
15[Defines]\r
16 INF_VERSION = 0x00010005\r
17 BASE_NAME = SmmFaultTolerantWriteDxe\r
18 MODULE_UNI_FILE = SmmFaultTolerantWriteDxe.uni\r
19 FILE_GUID = 470CB248-E8AC-473c-BB4F-81069A1FE6FD\r
20 MODULE_TYPE = DXE_SMM_DRIVER\r
21 VERSION_STRING = 1.0\r
22 PI_SPECIFICATION_VERSION = 0x0001000A\r
23 ENTRY_POINT = SmmFaultTolerantWriteInitialize\r
24\r
25#\r
26# The following information is for reference only and not required by the build tools.\r
27#\r
28# VALID_ARCHITECTURES = IA32 X64\r
29#\r
30\r
31[Sources]\r
32 FtwMisc.c\r
33 UpdateWorkingBlock.c\r
34 FaultTolerantWrite.c\r
35 FaultTolerantWriteTraditionalMm.c\r
36 FaultTolerantWriteSmm.c\r
37 FaultTolerantWrite.h\r
38 FaultTolerantWriteSmmCommon.h\r
39\r
40[Packages]\r
41 MdePkg/MdePkg.dec\r
42 MdeModulePkg/MdeModulePkg.dec\r
43\r
44[LibraryClasses]\r
45 MmServicesTableLib\r
46 MemoryAllocationLib\r
47 BaseMemoryLib\r
48 UefiDriverEntryPoint\r
49 DebugLib\r
50 UefiLib\r
51 PcdLib\r
52 ReportStatusCodeLib\r
53 SmmMemLib\r
54 BaseLib\r
55\r
56[Guids]\r
57 #\r
58 # Signature in EFI_FAULT_TOLERANT_WORKING_BLOCK_HEADER\r
59 #\r
60 ## CONSUMES ## GUID\r
61 ## PRODUCES ## GUID\r
62 gEdkiiWorkingBlockSignatureGuid\r
63\r
64[Protocols]\r
65 gEfiSmmSwapAddressRangeProtocolGuid | gEfiMdeModulePkgTokenSpaceGuid.PcdFullFtwServiceEnable ## SOMETIMES_CONSUMES\r
66 ## NOTIFY\r
67 ## CONSUMES\r
68 gEfiSmmFirmwareVolumeBlockProtocolGuid\r
69 ## PRODUCES\r
70 ## UNDEFINED # SmiHandlerRegister\r
71 gEfiSmmFaultTolerantWriteProtocolGuid\r
72 gEfiMmEndOfDxeProtocolGuid ## CONSUMES\r
73\r
74[FeaturePcd]\r
75 gEfiMdeModulePkgTokenSpaceGuid.PcdFullFtwServiceEnable ## CONSUMES\r
76\r
77[Pcd]\r
78 gEfiMdeModulePkgTokenSpaceGuid.PcdFlashNvStorageFtwWorkingBase ## SOMETIMES_CONSUMES\r
79 gEfiMdeModulePkgTokenSpaceGuid.PcdFlashNvStorageFtwWorkingBase64 ## CONSUMES\r
80 gEfiMdeModulePkgTokenSpaceGuid.PcdFlashNvStorageFtwWorkingSize ## CONSUMES\r
81 gEfiMdeModulePkgTokenSpaceGuid.PcdFlashNvStorageFtwSpareBase ## SOMETIMES_CONSUMES\r
82 gEfiMdeModulePkgTokenSpaceGuid.PcdFlashNvStorageFtwSpareBase64 ## CONSUMES\r
83 gEfiMdeModulePkgTokenSpaceGuid.PcdFlashNvStorageFtwSpareSize ## CONSUMES\r
84\r
85#\r
86# gBS->CalculateCrc32() is consumed in EntryPoint.\r
87# PI spec said: When the DXE Foundation is notified that the EFI_RUNTIME_ARCH_PROTOCOL\r
88# has been installed, then the Boot Service CalculateCrc32() is available.\r
89# So add gEfiRuntimeArchProtocolGuid Depex here.\r
90#\r
91[Depex]\r
92 gEfiSmmFirmwareVolumeBlockProtocolGuid AND gEfiRuntimeArchProtocolGuid\r
93\r
94[UserExtensions.TianoCore."ExtraFiles"]\r
95 SmmFaultTolerantWriteDxeExtra.uni\r