]> git.proxmox.com Git - mirror_edk2.git/blobdiff - IntelFrameworkModulePkg/Library/PeiRecoveryLib/PeiRecoveryLib.c
Fix a bug for vlan ping failure.
[mirror_edk2.git] / IntelFrameworkModulePkg / Library / PeiRecoveryLib / PeiRecoveryLib.c
index ab3395547cec7abcb2f2583a8f81c3371daa4d0e..fc729a899c3b409010f415e219a3383aa8f44b45 100644 (file)
@@ -1,8 +1,12 @@
-/**@file\r
-  Recovery Library. This library class defines a set of methods related do recovery.\r
+/** @file\r
+  This Library uses Framework RecoveryModule PPI to do system recovery.\r
 \r
-Copyright (c) 2006 - 2007 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 - 2009, 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
@@ -41,6 +45,6 @@ PeiRecoverFirmware (
              );\r
   ASSERT_EFI_ERROR (Status);\r
 \r
-  return PeiRecovery->LoadRecoveryCapsule (GetPeiServicesTablePointer(), PeiRecovery);\r
+  return PeiRecovery->LoadRecoveryCapsule ((EFI_PEI_SERVICES  **) GetPeiServicesTablePointer(), PeiRecovery);\r
 }\r
 \r