]> git.proxmox.com Git - mirror_edk2.git/blob - MdeModulePkg/Universal/FirmwareVolume/FaultTolerantWriteDxe/FtwLite.inf
ed51c07d18cd39f9466fd9e8564d390aa28d2827
[mirror_edk2.git] / MdeModulePkg / Universal / FirmwareVolume / FaultTolerantWriteDxe / FtwLite.inf
1 #/** @file
2 # This driver provides lite fault tolerant capability for write operation on flash devices.
3 # Its implementation depends on the full functionality FVB protocol that support read, write/erase flash access.
4 # It only supports write BufferSize <= PcdFlashNvStorageFtwSpareSize.
5 # That's the input write buffer data must fit within the spare range.
6 # This driver doesn't differentiate the update for boot block and other block.
7 #
8 # Copyright (c) 2006 - 2008, Intel Corporation
9 #
10 # All rights reserved. This program and the accompanying materials
11 # are licensed and made available under the terms and conditions of the BSD License
12 # which accompanies this distribution. The full text of the license may be found at
13 # http://opensource.org/licenses/bsd-license.php
14 # THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,
15 # WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
16 #
17 #**/
18
19 [Defines]
20 INF_VERSION = 0x00010005
21 BASE_NAME = FtwLite
22 FILE_GUID = 4C862FC6-0E54-4e36-8C8F-FF6F3167951F
23 MODULE_TYPE = DXE_DRIVER
24 VERSION_STRING = 1.0
25 ENTRY_POINT = InitializeFtwLite
26
27 #
28 # The following information is for reference only and not required by the build tools.
29 #
30 # VALID_ARCHITECTURES = IA32 X64 IPF EBC
31 #
32
33 [Sources.common]
34 FtwWorkSpace.c
35 FtwMisc.c
36 FtwLite.c
37 FtwLite.h
38
39 [Packages]
40 MdePkg/MdePkg.dec
41 MdeModulePkg/MdeModulePkg.dec
42
43 [LibraryClasses]
44 UefiBootServicesTableLib
45 MemoryAllocationLib
46 BaseMemoryLib
47 UefiDriverEntryPoint
48 DebugLib
49 PcdLib
50 DevicePathLib
51
52 [Guids]
53 gEfiSystemNvDataFvGuid # ALWAYS_CONSUMED, Signature of Working Space Header
54
55 [Protocols]
56 gEfiFirmwareVolumeBlockProtocolGuid # PROTOCOL ALWAYS_CONSUMED
57 gEfiFaultTolerantWriteLiteProtocolGuid # PROTOCOL ALWAYS_PRODUCED
58
59 [Pcd.common]
60 gEfiMdeModulePkgTokenSpaceGuid.PcdFlashNvStorageFtwWorkingSize
61 gEfiMdeModulePkgTokenSpaceGuid.PcdFlashNvStorageFtwWorkingBase
62 gEfiMdeModulePkgTokenSpaceGuid.PcdFlashNvStorageFtwSpareSize
63 gEfiMdeModulePkgTokenSpaceGuid.PcdFlashNvStorageFtwSpareBase
64
65 [Depex]
66 gEfiFirmwareVolumeBlockProtocolGuid AND gEfiAlternateFvBlockGuid