From nobody Mon Feb 9 23:38:46 2026 Delivered-To: importer@patchew.org Received-SPF: pass (zoho.com: domain of groups.io designates 66.175.222.12 as permitted sender) client-ip=66.175.222.12; envelope-from=bounce+27952+42686+1787277+3901457@groups.io; helo=web01.groups.io; Authentication-Results: mx.zohomail.com; dkim=pass; spf=pass (zoho.com: domain of groups.io designates 66.175.222.12 as permitted sender) smtp.mailfrom=bounce+27952+42686+1787277+3901457@groups.io; dmarc=fail(p=none dis=none) header.from=intel.com ARC-Seal: i=1; a=rsa-sha256; t=1561086013; cv=none; d=zoho.com; s=zohoarc; b=D8UZshDKZqvWt0iB8GG/VyiR0MwLpM8RoOYpOSIvENcQ9nuEq5J1qDTMsG3OYoR1qDroswHKfca8kClzCBrSkP8m4cNK/wKmWOXyaHo6TQja8AZRJdevmKb/RuWgkvPt7iImhS2WC7bBamhLWCgJQ3zZV+bXNjKqEOoBY7g7wxs= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zoho.com; s=zohoarc; t=1561086013; h=Cc:Date:From:In-Reply-To:List-Id:List-Unsubscribe:Message-ID:Reply-To:References:Sender:Subject:To:ARC-Authentication-Results; bh=IOXyA/ML6NKKFSKQyUKNLY/GUBcd+ofZqdiNjm8sC0Q=; b=iUxkcRiCp/ZvUOpIEdm5pAaaZ4lkAiYHitlxcX2g+M01jU7r8H5XMLarMs9G0ZTlzplxMkeoV1GDM+ayb7+1C5YRJ44XSqmaHsI1NklRR86Z7OoVFLiqY4WKiP55Rff3OYOdO+cJ+VstBWNN8OgbdPy9li5ZPqXCvd2Y6H0A4u8= ARC-Authentication-Results: i=1; mx.zoho.com; dkim=pass; spf=pass (zoho.com: domain of groups.io designates 66.175.222.12 as permitted sender) smtp.mailfrom=bounce+27952+42686+1787277+3901457@groups.io; dmarc=fail header.from= (p=none dis=none) header.from= Received: from web01.groups.io (web01.groups.io [66.175.222.12]) by mx.zohomail.com with SMTPS id 1561086013690329.82994536564127; Thu, 20 Jun 2019 20:00:13 -0700 (PDT) Return-Path: X-Received: from mga09.intel.com (mga09.intel.com []) by groups.io with SMTP; Thu, 20 Jun 2019 20:00:12 -0700 X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False X-Received: from fmsmga005.fm.intel.com ([10.253.24.32]) by orsmga102.jf.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 20 Jun 2019 20:00:11 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.63,398,1557212400"; d="scan'208";a="358739700" X-Received: from shenglei-dev.ccr.corp.intel.com ([10.239.158.52]) by fmsmga005.fm.intel.com with ESMTP; 20 Jun 2019 20:00:10 -0700 From: "Zhang, Shenglei" To: devel@edk2.groups.io Cc: Jian J Wang , Hao A Wu , Ray Ni , Star Zeng , Shenglei Subject: [edk2-devel] [PATCH 3/4] MdeModulePkg: Remove RecoveryLib.h and PeiRecoveryLibNull Date: Fri, 21 Jun 2019 10:59:59 +0800 Message-Id: <20190621030000.12716-4-shenglei.zhang@intel.com> In-Reply-To: <20190621030000.12716-1-shenglei.zhang@intel.com> References: <20190621030000.12716-1-shenglei.zhang@intel.com> Precedence: Bulk List-Unsubscribe: Sender: devel@edk2.groups.io List-Id: Mailing-List: list devel@edk2.groups.io; contact devel+owner@edk2.groups.io Reply-To: devel@edk2.groups.io,shenglei.zhang@intel.com DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=groups.io; q=dns/txt; s=20140610; t=1561086013; bh=dkth4lqtpqc8yfR0jgBemMX/l88xvJF5kc6RZYv/Sw8=; h=Cc:Date:From:Reply-To:Subject:To; b=KDQZal2ieBWkAhb8JU6OB3aHMpHXEUzLKlEy2LtrQH1qfVLUGdQee/0FikfOCELyGfo YSlfGbF+3s4gbOSpNnL0FuqclcSRpY4ZjLLz3D5FrH/79QabAMceiN+NKpTDFY2mUdkzB 982jITqAc7MAXwxbao5QlBrLcY+VbaZXgIQ= X-ZohoMail-DKIM: pass (identity @groups.io) Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" RecoveryLib.h and PeiRecoveryLibNull have been deprecated from 2009, so remove them. https://bugzilla.tianocore.org/show_bug.cgi?id=3D1299 Cc: Jian J Wang Cc: Hao A Wu Cc: Ray Ni Cc: Star Zeng Signed-off-by: Shenglei Zhang -SPDX-License-Identifier: BSD-2-Clause-Patent - -**/ -#include -#include - -/** - 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; -} - diff --git a/MdeModulePkg/Core/DxeIplPeim/DxeIpl.h b/MdeModulePkg/Core/DxeI= plPeim/DxeIpl.h index ebed1c902ed2..bc0d41f406ea 100644 --- a/MdeModulePkg/Core/DxeIplPeim/DxeIpl.h +++ b/MdeModulePkg/Core/DxeIplPeim/DxeIpl.h @@ -39,7 +39,6 @@ SPDX-License-Identifier: BSD-2-Clause-Patent #include #include #include -#include #include #include #include diff --git a/MdeModulePkg/Include/Library/RecoveryLib.h b/MdeModulePkg/Incl= ude/Library/RecoveryLib.h deleted file mode 100644 index 0324bd65ed62..000000000000 --- a/MdeModulePkg/Include/Library/RecoveryLib.h +++ /dev/null @@ -1,29 +0,0 @@ -/** @file - Recovery library class defines a set of methods related recovery boot mo= de. - This library class is no longer used and modules using this library shou= ld - directly locate EFI_PEI_RECOVERY_MODULE_PPI, defined in the PI 1.2 speci= fication. - -Copyright (c) 2005 - 2018, Intel Corporation. All rights reserved.
-SPDX-License-Identifier: BSD-2-Clause-Patent - -**/ - -#ifndef __RECOVERY_LIB_H__ -#define __RECOVERY_LIB_H__ - -/** - Calling this function causes the system to carry out a recovery boot pat= h. - - @retval EFI_SUCCESS Recovery boot path succeeded. - @retval Others Recovery boot path failure. - -**/ -EFI_STATUS -EFIAPI -PeiRecoverFirmware ( - VOID - ); - -#endif - - diff --git a/MdeModulePkg/Library/PeiRecoveryLibNull/PeiRecoveryLibNull.inf= b/MdeModulePkg/Library/PeiRecoveryLibNull/PeiRecoveryLibNull.inf deleted file mode 100644 index 325c4e717d6e..000000000000 --- a/MdeModulePkg/Library/PeiRecoveryLibNull/PeiRecoveryLibNull.inf +++ /dev/null @@ -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 defi= ned -# in PI 1.2 specification. -# -# Copyright (c) 2006 - 2018, Intel Corporation. All rights reserved.
-# SPDX-License-Identifier: BSD-2-Clause-Patent -# -## - -[Defines] - INF_VERSION =3D 0x00010005 - BASE_NAME =3D PeiRecoveryLibNull - MODULE_UNI_FILE =3D PeiRecoveryLibNull.uni - FILE_GUID =3D 41789FB9-02AC-4484-BD40-A3147D7EDA25 - MODULE_TYPE =3D PEIM - VERSION_STRING =3D 1.0 - LIBRARY_CLASS =3D RecoveryLib|PEIM - -# -# The following information is for reference only and not required by the = build tools. -# -# VALID_ARCHITECTURES =3D IA32 X64 EBC (EBC is for build only) -# - -[Sources] - PeiRecoveryLibNull.c - -[Packages] - MdePkg/MdePkg.dec - MdeModulePkg/MdeModulePkg.dec - diff --git a/MdeModulePkg/Library/PeiRecoveryLibNull/PeiRecoveryLibNull.uni= b/MdeModulePkg/Library/PeiRecoveryLibNull/PeiRecoveryLibNull.uni deleted file mode 100644 index 36091d7f62df..000000000000 --- a/MdeModulePkg/Library/PeiRecoveryLibNull/PeiRecoveryLibNull.uni +++ /dev/null @@ -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 defi= ned -// in PI 1.2 specification. -// -// Copyright (c) 2006 - 2018, Intel Corporation. All rights reserved.
-// -// SPDX-License-Identifier: BSD-2-Clause-Patent -// -// **/ - - -#string STR_MODULE_ABSTRACT #language en-US "Null Recovery lib= rary instance for PEIM module" - -#string STR_MODULE_DESCRIPTION #language en-US "This library inst= ance 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 Specificatio= n." - diff --git a/MdeModulePkg/MdeModulePkg.dec b/MdeModulePkg/MdeModulePkg.dec index 563fc1818531..16332cd9d0fb 100644 --- a/MdeModulePkg/MdeModulePkg.dec +++ b/MdeModulePkg/MdeModulePkg.dec @@ -31,11 +31,6 @@ [LibraryClasses] ## @libraryclass Defines a set of helper functions for resetting the s= ystem. ResetUtilityLib|Include/Library/ResetUtilityLib.h =20 - ## @libraryclass Defines a set of methods related recovery mode. - # This library class is no longer used and modules using this library = should - # directly locate EFI_PEI_RECOVERY_MODULE_PPI defined in PI 1.2 specif= ication. - RecoveryLib|Include/Library/RecoveryLib.h - ## @libraryclass Provides HII related functions. HiiLib|Include/Library/HiiLib.h =20 diff --git a/MdeModulePkg/MdeModulePkg.dsc b/MdeModulePkg/MdeModulePkg.dsc index 1c4525cd588c..4320839abfb5 100644 --- a/MdeModulePkg/MdeModulePkg.dsc +++ b/MdeModulePkg/MdeModulePkg.dsc @@ -282,7 +282,6 @@ [Components] MdeModulePkg/Library/DxePrintLibPrint2Protocol/DxePrintLibPrint2Protocol= .inf MdeModulePkg/Library/PeiCrc32GuidedSectionExtractLib/PeiCrc32GuidedSecti= onExtractLib.inf MdeModulePkg/Library/PeiPerformanceLib/PeiPerformanceLib.inf - MdeModulePkg/Library/PeiRecoveryLibNull/PeiRecoveryLibNull.inf MdeModulePkg/Library/PeiResetSystemLib/PeiResetSystemLib.inf MdeModulePkg/Library/UefiHiiLib/UefiHiiLib.inf MdeModulePkg/Library/ResetUtilityLib/ResetUtilityLib.inf --=20 2.18.0.windows.1 -=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D- Groups.io Links: You receive all messages sent to this group. View/Reply Online (#42686): https://edk2.groups.io/g/devel/message/42686 Mute This Topic: https://groups.io/mt/32154925/1787277 Group Owner: devel+owner@edk2.groups.io Unsubscribe: https://edk2.groups.io/g/devel/unsub [importer@patchew.org] -=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-