1## @file
2# Fault Tolerant Write PEI Driver.
3#
4# This module installs gEdkiiFaultTolerantWriteGuid PPI to inform the check for FTW last write data has been done.
5#
6# Copyright (c) 2013 - 2014, Intel Corporation. All rights reserved.<BR>
7#
8#  This program and the accompanying materials
9#  are licensed and made available under the terms and conditions of the BSD License
10#  which accompanies this distribution. The full text of the license may be found at
11#  http://opensource.org/licenses/bsd-license.php
12#  THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,
13#  WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
14#
15##
16
17[Defines]
18  INF_VERSION                    = 0x00010005
19  BASE_NAME                      = FaultTolerantWritePei
20  MODULE_UNI_FILE                = FaultTolerantWritePei.uni
21  FILE_GUID                      = AAC33064-9ED0-4b89-A5AD-3EA767960B22
22  MODULE_TYPE                    = PEIM
23  VERSION_STRING                 = 1.0
24  ENTRY_POINT                    = PeimFaultTolerantWriteInitialize
25
26#
27# The following information is for reference only and not required by the build tools.
28#
29#  VALID_ARCHITECTURES           = IA32 X64 IPF EBC
30#
31
32[Sources]
33  FaultTolerantWritePei.c
34
35[Packages]
36  MdePkg/MdePkg.dec
37  MdeModulePkg/MdeModulePkg.dec
38
39[LibraryClasses]
40  PeimEntryPoint
41  PeiServicesLib
42  BaseLib
43  DebugLib
44  HobLib
45  BaseMemoryLib
46  PcdLib
47
48[Guids]
49  ## SOMETIMES_PRODUCES   ## HOB
50  ## PRODUCES             ## GUID # Install ppi
51  gEdkiiFaultTolerantWriteGuid
52  gEdkiiWorkingBlockSignatureGuid               ## SOMETIMES_CONSUMES   ## GUID
53  gEfiSystemNvDataFvGuid                        ## SOMETIMES_CONSUMES   ## GUID
54
55[Pcd]
56  gEfiMdeModulePkgTokenSpaceGuid.PcdFlashNvStorageFtwWorkingBase    ## SOMETIMES_CONSUMES
57  gEfiMdeModulePkgTokenSpaceGuid.PcdFlashNvStorageFtwWorkingBase64  ## CONSUMES
58  gEfiMdeModulePkgTokenSpaceGuid.PcdFlashNvStorageFtwWorkingSize    ## CONSUMES
59  gEfiMdeModulePkgTokenSpaceGuid.PcdFlashNvStorageFtwSpareBase      ## SOMETIMES_CONSUMES
60  gEfiMdeModulePkgTokenSpaceGuid.PcdFlashNvStorageFtwSpareBase64    ## CONSUMES
61  gEfiMdeModulePkgTokenSpaceGuid.PcdFlashNvStorageFtwSpareSize      ## CONSUMES
62
63[Depex]
64  TRUE
65
66[UserExtensions.TianoCore."ExtraFiles"]
67  FaultTolerantWritePeiExtra.uni
68