+++ /dev/null
-/** @file\r
- This file declares Recovery Module PPI. \r
- This PPI is used to find and load the recovery files.\r
-\r
- Copyright (c) 2007 - 2009, Intel Corporation\r
- All rights reserved. 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
-\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
- @par Revision Reference:\r
- This PPI is defined in Framework of EFI Recovery Spec.\r
- Version 0.9\r
-\r
-**/\r
-\r
-#ifndef __PEI_RECOVERY_MODULE_PPI_H__\r
-#define __PEI_RECOVERY_MODULE_PPI_H__\r
-\r
-///\r
-/// Inconsistent with specification here: \r
-/// GUID marco name has been changed to the consistent PPI GUID macro name.\r
-///\r
-#define EFI_PEI_RECOVERY_MODULE_PPI_GUID \\r
- { \\r
- 0xFB6D9542, 0x612D, 0x4f45, {0x87, 0x2F, 0x5C, 0xFF, 0x52, 0xE9, 0x3D, 0xCF } \\r
- }\r
-\r
-typedef struct _EFI_PEI_RECOVERY_MODULE_PPI EFI_PEI_RECOVERY_MODULE_PPI;\r
-\r
-/**\r
- Loads a DXE capsule from some media into memory and updates the HOB table\r
- with the DXE firmware volume information.\r
-\r
- @param PeiServices General-purpose services that are available to every PEIM.\r
- @param This Indicates the EFI_PEI_RECOVERY_MODULE_PPI instance.\r
-\r
- @retval EFI_SUCCESS The capsule was loaded correctly.\r
- @retval EFI_DEVICE_ERROR A device error occurred.\r
- @retval EFI_NOT_FOUND A recovery DXE capsule cannot be found.\r
-\r
-**/\r
-typedef\r
-EFI_STATUS\r
-(EFIAPI *EFI_PEI_LOAD_RECOVERY_CAPSULE)(\r
- IN EFI_PEI_SERVICES **PeiServices,\r
- IN EFI_PEI_RECOVERY_MODULE_PPI *This\r
- );\r
-\r
-/**\r
- Finds and loads the recovery files.\r
-**/\r
-struct _EFI_PEI_RECOVERY_MODULE_PPI {\r
- EFI_PEI_LOAD_RECOVERY_CAPSULE LoadRecoveryCapsule; ///< Loads a DXE binary capsule into memory.\r
-};\r
-\r
-extern EFI_GUID gEfiPeiRecoveryModulePpiGuid;\r
-\r
-#endif\r