VirtualBox

source: vbox/trunk/src/VBox/Devices/EFI/Firmware/MdeModulePkg/Universal/FaultTolerantWriteDxe/FaultTolerantWriteSmm.inf

Last change on this file was 99404, checked in by vboxsync, 14 months ago

Devices/EFI/FirmwareNew: Update to edk2-stable202302 and make it build, bugref:4643

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

© 2023 Oracle
ContactPrivacy policyTerms of Use