MdeModulePkg: Remove RecoveryLib.h and PeiRecoveryLibNull
RecoveryLib.h and PeiRecoveryLibNull have been deprecated from 2009, so remove them. https://bugzilla.tianocore.org/show_bug.cgi?id=1299 Cc: Jian J Wang <jian.j.wang@intel.com> Cc: Star Zeng <star.zeng@intel.com> Signed-off-by: Shenglei Zhang <shenglei.zhang@intel.com> Reviewed-by: Ray Ni <ray.ni@intel.com> Reviewed-by: Hao A Wu <hao.a.wu@intel.com>
This commit is contained in:
committed by
Hao A Wu
parent
b9c3cbf6ec
commit
4ac8ceb5d6
@@ -1,28 +0,0 @@
|
||||
/** @file
|
||||
Null Recovery Library instance does nothing and returns unsupported status.
|
||||
|
||||
This library instance is no longer used and module using this library
|
||||
class should update to directly locate EFI_PEI_RECOVERY_MODULE_PPI defined
|
||||
in PI 1.2 specification.
|
||||
|
||||
Copyright (c) 2006 - 2018, Intel Corporation. All rights reserved.<BR>
|
||||
SPDX-License-Identifier: BSD-2-Clause-Patent
|
||||
|
||||
**/
|
||||
#include <PiPei.h>
|
||||
#include <Library/RecoveryLib.h>
|
||||
|
||||
/**
|
||||
Calling this function causes the system do recovery boot path.
|
||||
|
||||
@retval EFI_UNSUPPORTED Recovery is not supported.
|
||||
**/
|
||||
EFI_STATUS
|
||||
EFIAPI
|
||||
PeiRecoverFirmware (
|
||||
VOID
|
||||
)
|
||||
{
|
||||
return EFI_UNSUPPORTED;
|
||||
}
|
||||
|
@@ -1,33 +0,0 @@
|
||||
## @file
|
||||
# Null Recovery library instance for PEIM module
|
||||
# This library instance is no longer used and module using this library
|
||||
# class should update to directly locate EFI_PEI_RECOVERY_MODULE_PPI defined
|
||||
# in PI 1.2 specification.
|
||||
#
|
||||
# Copyright (c) 2006 - 2018, Intel Corporation. All rights reserved.<BR>
|
||||
# SPDX-License-Identifier: BSD-2-Clause-Patent
|
||||
#
|
||||
##
|
||||
|
||||
[Defines]
|
||||
INF_VERSION = 0x00010005
|
||||
BASE_NAME = PeiRecoveryLibNull
|
||||
MODULE_UNI_FILE = PeiRecoveryLibNull.uni
|
||||
FILE_GUID = 41789FB9-02AC-4484-BD40-A3147D7EDA25
|
||||
MODULE_TYPE = PEIM
|
||||
VERSION_STRING = 1.0
|
||||
LIBRARY_CLASS = RecoveryLib|PEIM
|
||||
|
||||
#
|
||||
# The following information is for reference only and not required by the build tools.
|
||||
#
|
||||
# VALID_ARCHITECTURES = IA32 X64 EBC (EBC is for build only)
|
||||
#
|
||||
|
||||
[Sources]
|
||||
PeiRecoveryLibNull.c
|
||||
|
||||
[Packages]
|
||||
MdePkg/MdePkg.dec
|
||||
MdeModulePkg/MdeModulePkg.dec
|
||||
|
@@ -1,18 +0,0 @@
|
||||
// /** @file
|
||||
// Null Recovery library instance for PEIM module
|
||||
//
|
||||
// This library instance is no longer used and module using this library
|
||||
// class should update to directly locate EFI_PEI_RECOVERY_MODULE_PPI defined
|
||||
// in PI 1.2 specification.
|
||||
//
|
||||
// Copyright (c) 2006 - 2018, Intel Corporation. All rights reserved.<BR>
|
||||
//
|
||||
// SPDX-License-Identifier: BSD-2-Clause-Patent
|
||||
//
|
||||
// **/
|
||||
|
||||
|
||||
#string STR_MODULE_ABSTRACT #language en-US "Null Recovery library instance for PEIM module"
|
||||
|
||||
#string STR_MODULE_DESCRIPTION #language en-US "This library instance is no longer used and module using this library class should update to directly locate EFI_PEI_RECOVERY_MODULE_PPI defined in PI 1.2 Specification."
|
||||
|
Reference in New Issue
Block a user