]> git.proxmox.com Git - mirror_edk2.git/blobdiff - MdeModulePkg/Universal/FaultTolerantWriteDxe/FaultTolerantWriteDxe.inf
MdeModulePkg: Add the alignment check for FTW spare area address and length, and...
[mirror_edk2.git] / MdeModulePkg / Universal / FaultTolerantWriteDxe / FaultTolerantWriteDxe.inf
index cf526e701df459dbc49be7fb6b00826991a15fad..f4576447db20d4c1a6cd4e12f23833080c7c5d85 100644 (file)
@@ -1,18 +1,18 @@
-#/** @file\r
+## @file\r
 # This driver installs Fault Tolerant Write (FTW) protocol, \r
 # which provides fault tolerant write capability for block devices.\r
 # Its implementation depends on the full functionality FVB protocol that support read, write/erase flash access.\r
 #\r
-# Copyright (c) 2006 - 2009, Intel Corporation\r
+# Copyright (c) 2006 - 2013, Intel Corporation. All rights reserved.<BR>\r
 #\r
-#  All rights reserved. This program and the accompanying materials\r
+#  This program and the accompanying materials\r
 #  are licensed and made available under the terms and conditions of the BSD License\r
 #  which accompanies this distribution. The full text of the license may be found at\r
 #  http://opensource.org/licenses/bsd-license.php\r
 #  THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,\r
 #  WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.\r
 #\r
-#**/\r
+##\r
 \r
 [Defines]\r
   INF_VERSION                    = 0x00010005\r
@@ -20,7 +20,7 @@
   FILE_GUID                      = FE5CEA76-4F72-49e8-986F-2CD899DFFE5D\r
   MODULE_TYPE                    = DXE_DRIVER\r
   VERSION_STRING                 = 1.0\r
-  ENTRY_POINT                    = InitializeFaultTolerantWrite\r
+  ENTRY_POINT                    = FaultTolerantWriteInitialize\r
 \r
 #\r
 # The following information is for reference only and not required by the build tools.\r
 #  VALID_ARCHITECTURES           = IA32 X64 IPF EBC\r
 #\r
 \r
-[Sources.common]\r
+[Sources]\r
   FtwMisc.c\r
   UpdateWorkingBlock.c\r
   FaultTolerantWrite.c\r
+  FaultTolerantWriteDxe.c\r
   FaultTolerantWrite.h\r
 \r
 [Packages]\r
   BaseMemoryLib\r
   UefiDriverEntryPoint\r
   DebugLib\r
+  UefiLib\r
+  PcdLib\r
+  ReportStatusCodeLib\r
 \r
 [Guids]\r
-  gEfiSystemNvDataFvGuid                        ## CONSUMES ## FV Signature of Working Space Header\r
+  gEdkiiWorkingBlockSignatureGuid               ## CONSUMES ## FV Signature of Working Space Header\r
 \r
 [Protocols]\r
-  gEfiSwapAddressRangeProtocolGuid     | PcdFullFtwServiceEnable          ## CONSUMES\r
+  gEfiSwapAddressRangeProtocolGuid     | gEfiMdeModulePkgTokenSpaceGuid.PcdFullFtwServiceEnable          ## CONSUMES\r
   gEfiFirmwareVolumeBlockProtocolGuid           ## CONSUMES\r
   gEfiFaultTolerantWriteProtocolGuid            ## PRODUCES\r
 \r
 \r
 [Pcd]\r
   gEfiMdeModulePkgTokenSpaceGuid.PcdFlashNvStorageFtwWorkingBase\r
+  gEfiMdeModulePkgTokenSpaceGuid.PcdFlashNvStorageFtwWorkingBase64\r
   gEfiMdeModulePkgTokenSpaceGuid.PcdFlashNvStorageFtwWorkingSize\r
   gEfiMdeModulePkgTokenSpaceGuid.PcdFlashNvStorageFtwSpareBase\r
+  gEfiMdeModulePkgTokenSpaceGuid.PcdFlashNvStorageFtwSpareBase64\r
   gEfiMdeModulePkgTokenSpaceGuid.PcdFlashNvStorageFtwSpareSize\r
 \r
 [Depex]\r
-  gEfiFirmwareVolumeBlockProtocolGuid AND gEfiAlternateFvBlockGuid  ## gEfiAlternateFvBlockGuid specifies FVB protocol with read, write/erase flash access.\r
+  gEfiFirmwareVolumeBlockProtocolGuid\r
 \r