S3Lib.h and PeiS3LibNull have been deprecated since 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>
#include <Library/BaseMemoryLib.h>\r
#include <Library/MemoryAllocationLib.h>\r
#include <Library/PcdLib.h>\r
-#include <Library/S3Lib.h>\r
#include <Library/RecoveryLib.h>\r
#include <Library/DebugAgentLib.h>\r
#include <Library/PeiServicesTablePointerLib.h>\r
+++ /dev/null
-/** @file\r
- S3 library class defines a set of methods related to S3 boot mode.\r
- This library class is no longer used and modules using this library should\r
- directly locate EFI_PEI_S3_RESUME_PPI, defined in the PI 1.2 specification.\r
-\r
-Copyright (c) 2005 - 2018, Intel Corporation. All rights reserved.<BR>\r
-SPDX-License-Identifier: BSD-2-Clause-Patent\r
-\r
-**/\r
-\r
-#ifndef __S3_LIB_H__\r
-#define __S3_LIB_H__\r
-\r
-/**\r
- This function is responsible for calling the S3 resume vector in the ACPI Tables.\r
-\r
- @retval EFI_SUCCESS Successfully restored the configuration from S3.\r
- @retval Others Failed to restore the configuration from S3.\r
-\r
-**/\r
-EFI_STATUS\r
-EFIAPI\r
-AcpiS3ResumeOs (\r
- VOID\r
- );\r
-\r
-#endif\r
-\r
+++ /dev/null
-/** @file\r
- Null S3 Library instance does nothing and returns unsupported status.\r
-\r
- This library instance is no longer used and module using this library\r
- class should update to directly locate EFI_PEI_S3_RESUME_PPI defined\r
- in PI 1.2 specification.\r
-\r
-Copyright (c) 2006 - 2018, Intel Corporation. All rights reserved.<BR>\r
-SPDX-License-Identifier: BSD-2-Clause-Patent\r
-\r
-**/\r
-#include <PiPei.h>\r
-#include <Library/S3Lib.h>\r
-\r
-/**\r
- This function is responsible for calling the S3 resume vector in the ACPI Tables.\r
-\r
- @retval EFI_SUCESS Success to restore config from S3.\r
- @retval Others Fail to restore config from S3.\r
-**/\r
-EFI_STATUS\r
-EFIAPI\r
-AcpiS3ResumeOs (\r
- VOID\r
- )\r
-{\r
- return EFI_UNSUPPORTED;\r
-}\r
-\r
+++ /dev/null
-## @file\r
-# Null S3 library instance for PEIM module.\r
-# This library instance is no longer used and module using this library\r
-# class should update to directly locate EFI_PEI_S3_RESUME_PPI defined\r
-# in PI 1.2 specification.\r
-#\r
-# Copyright (c) 2006 - 2018, Intel Corporation. All rights reserved.<BR>\r
-#\r
-# SPDX-License-Identifier: BSD-2-Clause-Patent\r
-#\r
-##\r
-\r
-[Defines]\r
- INF_VERSION = 0x00010005\r
- BASE_NAME = PeiS3LibNull\r
- MODULE_UNI_FILE = PeiS3LibNull.uni\r
- FILE_GUID = 018E1925-D6A2-4a2a-8958-817610A15ADF\r
- MODULE_TYPE = PEIM\r
- VERSION_STRING = 1.0\r
- LIBRARY_CLASS = S3Lib|PEIM\r
-\r
-\r
-#\r
-# The following information is for reference only and not required by the build tools.\r
-#\r
-# VALID_ARCHITECTURES = IA32 X64 EBC (EBC is for build only)\r
-#\r
-\r
-[Sources]\r
- PeiS3LibNull.c\r
-\r
-[Packages]\r
- MdePkg/MdePkg.dec\r
- MdeModulePkg/MdeModulePkg.dec\r
+++ /dev/null
-// /** @file\r
-// Null S3 library instance for PEIM module.\r
-//\r
-// This library instance is no longer used and module using this library\r
-// class should update to directly locate EFI_PEI_S3_RESUME_PPI defined\r
-// in PI 1.2 specification.\r
-//\r
-// Copyright (c) 2006 - 2018, Intel Corporation. All rights reserved.<BR>\r
-//\r
-// SPDX-License-Identifier: BSD-2-Clause-Patent\r
-//\r
-// **/\r
-\r
-\r
-#string STR_MODULE_ABSTRACT #language en-US "Null S3 library instance for PEIM module"\r
-\r
-#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_S3_RESUME_PPI defined in PI 1.2 Specification."\r
-\r
## @libraryclass Defines a set of helper functions for resetting the system.\r
ResetUtilityLib|Include/Library/ResetUtilityLib.h\r
\r
- ## @libraryclass Defines a set of methods related do S3 mode.\r
- # This library class is no longer used and modules using this library should\r
- # directly locate EFI_PEI_S3_RESUME_PPI defined in PI 1.2 specification.\r
- S3Lib|Include/Library/S3Lib.h\r
-\r
## @libraryclass Defines a set of methods related recovery mode.\r
# This library class is no longer used and modules using this library should\r
# directly locate EFI_PEI_RECOVERY_MODULE_PPI defined in PI 1.2 specification.\r
MdeModulePkg/Library/PeiPerformanceLib/PeiPerformanceLib.inf\r
MdeModulePkg/Library/PeiRecoveryLibNull/PeiRecoveryLibNull.inf\r
MdeModulePkg/Library/PeiResetSystemLib/PeiResetSystemLib.inf\r
- MdeModulePkg/Library/PeiS3LibNull/PeiS3LibNull.inf\r
MdeModulePkg/Library/UefiHiiLib/UefiHiiLib.inf\r
MdeModulePkg/Library/ResetUtilityLib/ResetUtilityLib.inf\r
MdeModulePkg/Library/BaseResetSystemLibNull/BaseResetSystemLibNull.inf\r