audk/MdeModulePkg/Include/Library/RecoveryLib.h

36 lines
1.0 KiB
C

/** @file
Recovery library class defines a set of methods related recovery boot mode.
This library class is no longer used and modules using this library should
directly locate EFI_PEI_RECOVERY_MODULE_PPI, defined in the PI 1.2 specification.
Copyright (c) 2005 - 2018, Intel Corporation. All rights reserved.<BR>
This program and the accompanying materials are licensed and made available under
the terms and conditions of the BSD License that accompanies this distribution.
The full text of the license may be found at
http://opensource.org/licenses/bsd-license.php.
THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,
WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
**/
#ifndef __RECOVERY_LIB_H__
#define __RECOVERY_LIB_H__
/**
Calling this function causes the system to carry out a recovery boot path.
@retval EFI_SUCCESS Recovery boot path succeeded.
@retval Others Recovery boot path failure.
**/
EFI_STATUS
EFIAPI
PeiRecoverFirmware (
VOID
);
#endif