]> git.proxmox.com Git - mirror_edk2.git/blame - MdeModulePkg/Universal/FaultTolerantWriteDxe/FaultTolerantWriteStandaloneMm.inf
MdeModulePkg: Replace BSD License with BSD+Patent License
[mirror_edk2.git] / MdeModulePkg / Universal / FaultTolerantWriteDxe / FaultTolerantWriteStandaloneMm.inf
CommitLineData
d0def00d
AB
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# Copyright (c) 2018, Linaro, Ltd. All rights reserved.<BR>\r
11#\r
9d510e61 12# SPDX-License-Identifier: BSD-2-Clause-Patent\r
d0def00d
AB
13#\r
14##\r
15\r
16[Defines]\r
17 INF_VERSION = 0x0001001B\r
18 BASE_NAME = FaultTolerantWriteStandaloneMm\r
19 FILE_GUID = 3aade4ec-63cc-4a48-a928-5a374dd463eb\r
20 MODULE_TYPE = MM_STANDALONE\r
21 VERSION_STRING = 1.0\r
22 PI_SPECIFICATION_VERSION = 0x00010032\r
23 ENTRY_POINT = StandaloneMmFaultTolerantWriteInitialize\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 ARM AARCH64\r
29#\r
30\r
31[Sources]\r
32 FtwMisc.c\r
33 UpdateWorkingBlock.c\r
34 FaultTolerantWrite.c\r
35 FaultTolerantWriteStandaloneMm.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 StandaloneMmPkg/StandaloneMmPkg.dec\r
44\r
45[LibraryClasses]\r
46 BaseLib\r
47 BaseMemoryLib\r
48 DebugLib\r
49 MemoryAllocationLib\r
50 MmServicesTableLib\r
51 PcdLib\r
52 ReportStatusCodeLib\r
53 StandaloneMmDriverEntryPoint\r
54\r
55[Guids]\r
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
62\r
63[Protocols]\r
64 gEfiSmmSwapAddressRangeProtocolGuid | gEfiMdeModulePkgTokenSpaceGuid.PcdFullFtwServiceEnable ## SOMETIMES_CONSUMES\r
65 ## NOTIFY\r
66 ## CONSUMES\r
67 gEfiSmmFirmwareVolumeBlockProtocolGuid\r
68 ## PRODUCES\r
69 ## UNDEFINED # SmiHandlerRegister\r
70 gEfiSmmFaultTolerantWriteProtocolGuid\r
71 gEfiMmEndOfDxeProtocolGuid ## CONSUMES\r
72\r
73[FeaturePcd]\r
74 gEfiMdeModulePkgTokenSpaceGuid.PcdFullFtwServiceEnable ## CONSUMES\r
75\r
76[Pcd]\r
77 gEfiMdeModulePkgTokenSpaceGuid.PcdFlashNvStorageFtwWorkingBase ## SOMETIMES_CONSUMES\r
78 gEfiMdeModulePkgTokenSpaceGuid.PcdFlashNvStorageFtwWorkingBase64 ## CONSUMES\r
79 gEfiMdeModulePkgTokenSpaceGuid.PcdFlashNvStorageFtwWorkingSize ## CONSUMES\r
80 gEfiMdeModulePkgTokenSpaceGuid.PcdFlashNvStorageFtwSpareBase ## SOMETIMES_CONSUMES\r
81 gEfiMdeModulePkgTokenSpaceGuid.PcdFlashNvStorageFtwSpareBase64 ## CONSUMES\r
82 gEfiMdeModulePkgTokenSpaceGuid.PcdFlashNvStorageFtwSpareSize ## CONSUMES\r
83\r
84[Depex]\r
85 TRUE\r