]> git.proxmox.com Git - mirror_edk2.git/blobdiff - IntelFrameworkModulePkg/Library/PeiRecoveryLib/PeiRecoveryLib.c
IntelFrameworkModulePkg: Clean up source files
[mirror_edk2.git] / IntelFrameworkModulePkg / Library / PeiRecoveryLib / PeiRecoveryLib.c
index 5668130c9543d1f62d1edb07a092018f235334a0..d9430483d553317a1be9e4207ae3ee76bab4b02a 100644 (file)
@@ -1,8 +1,12 @@
 /** @file\r
-  This Library uses Framework RecoveryModule PPI to system recovery.\r
+  This Library uses Framework RecoveryModule PPI to do system recovery.\r
 \r
-Copyright (c) 2006 - 2009 Intel Corporation\r
-All rights reserved. This program and the accompanying materials\r
+  This library instance is no longer used and module using this library\r
+  class should update to directly locate EFI_PEI_RECOVERY_MODULE_PPI defined\r
+  in PI 1.2 specification.\r
+\r
+Copyright (c) 2006 - 2018, Intel Corporation. All rights reserved.<BR>\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
@@ -11,7 +15,7 @@ THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,
 WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.\r
 \r
 **/\r
-#include <FrameworkPei.h>\r
+#include <PiPei.h>\r
 #include <Library/PeiServicesLib.h>\r
 #include <Library/PeiServicesTablePointerLib.h>\r
 #include <Library/DebugLib.h>\r
@@ -20,7 +24,7 @@ WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
 \r
 /**\r
   Calling this function causes the system do recovery.\r
-  \r
+\r
   @retval EFI_SUCESS   Sucess to do recovery.\r
   @retval Others       Fail to do recovery.\r
 **/\r
@@ -32,7 +36,7 @@ PeiRecoverFirmware (
 {\r
   EFI_STATUS                      Status;\r
   EFI_PEI_RECOVERY_MODULE_PPI     *PeiRecovery;\r
-  \r
+\r
   Status = PeiServicesLocatePpi (\r
              &gEfiPeiRecoveryModulePpiGuid,\r
              0,\r