2007-06-27 16:52:40 +02:00
|
|
|
#/** @file
|
2008-12-24 02:24:17 +01:00
|
|
|
# This driver provides lite fault tolerant capability for write operation on flash devices.
|
|
|
|
# Its implementation depends on the full functionality FVB protocol that support read, write/erase flash access.
|
|
|
|
# It only supports write BufferSize <= PcdFlashNvStorageFtwSpareSize.
|
|
|
|
# That's the input write buffer data must fit within the spare range.
|
|
|
|
# This driver doesn't differentiate the update for boot block and other block.
|
2007-06-27 16:52:40 +02:00
|
|
|
#
|
2008-12-24 02:24:17 +01:00
|
|
|
# Copyright (c) 2006 - 2008, Intel Corporation
|
2007-06-27 16:52:40 +02:00
|
|
|
#
|
|
|
|
# All rights reserved. This program and the accompanying materials
|
|
|
|
# are licensed and made available under the terms and conditions of the BSD License
|
|
|
|
# which accompanies this distribution. The full text of the license may be found at
|
|
|
|
# http://opensource.org/licenses/bsd-license.php
|
|
|
|
# THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,
|
|
|
|
# WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
|
|
|
|
#
|
|
|
|
#**/
|
|
|
|
|
|
|
|
[Defines]
|
|
|
|
INF_VERSION = 0x00010005
|
|
|
|
BASE_NAME = FtwLite
|
|
|
|
FILE_GUID = 4C862FC6-0E54-4e36-8C8F-FF6F3167951F
|
|
|
|
MODULE_TYPE = DXE_DRIVER
|
|
|
|
VERSION_STRING = 1.0
|
|
|
|
ENTRY_POINT = InitializeFtwLite
|
|
|
|
|
|
|
|
#
|
|
|
|
# The following information is for reference only and not required by the build tools.
|
|
|
|
#
|
|
|
|
# VALID_ARCHITECTURES = IA32 X64 IPF EBC
|
|
|
|
#
|
|
|
|
|
|
|
|
[Sources.common]
|
|
|
|
FtwWorkSpace.c
|
|
|
|
FtwMisc.c
|
|
|
|
FtwLite.c
|
|
|
|
FtwLite.h
|
2008-07-18 10:03:26 +02:00
|
|
|
|
2007-06-27 16:52:40 +02:00
|
|
|
[Packages]
|
|
|
|
MdePkg/MdePkg.dec
|
|
|
|
MdeModulePkg/MdeModulePkg.dec
|
|
|
|
|
|
|
|
[LibraryClasses]
|
|
|
|
UefiBootServicesTableLib
|
|
|
|
MemoryAllocationLib
|
|
|
|
BaseMemoryLib
|
|
|
|
UefiDriverEntryPoint
|
|
|
|
DebugLib
|
|
|
|
PcdLib
|
2008-11-11 16:42:40 +01:00
|
|
|
DevicePathLib
|
|
|
|
|
2007-06-27 16:52:40 +02:00
|
|
|
[Guids]
|
2008-12-24 02:24:17 +01:00
|
|
|
gEfiSystemNvDataFvGuid # ALWAYS_CONSUMED, Signature of Working Space Header
|
2007-06-27 16:52:40 +02:00
|
|
|
|
|
|
|
[Protocols]
|
|
|
|
gEfiFirmwareVolumeBlockProtocolGuid # PROTOCOL ALWAYS_CONSUMED
|
|
|
|
gEfiFaultTolerantWriteLiteProtocolGuid # PROTOCOL ALWAYS_PRODUCED
|
|
|
|
|
2007-08-30 11:11:54 +02:00
|
|
|
[Pcd.common]
|
|
|
|
gEfiMdeModulePkgTokenSpaceGuid.PcdFlashNvStorageFtwWorkingSize
|
|
|
|
gEfiMdeModulePkgTokenSpaceGuid.PcdFlashNvStorageFtwWorkingBase
|
|
|
|
gEfiMdeModulePkgTokenSpaceGuid.PcdFlashNvStorageFtwSpareSize
|
|
|
|
gEfiMdeModulePkgTokenSpaceGuid.PcdFlashNvStorageFtwSpareBase
|
2007-06-27 16:52:40 +02:00
|
|
|
|
2007-06-28 16:50:15 +02:00
|
|
|
[Depex]
|
|
|
|
gEfiFirmwareVolumeBlockProtocolGuid AND gEfiAlternateFvBlockGuid
|