MdeModulePkg: Remove S3Lib.h and PeiS3LibNull

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>
This commit is contained in:
Zhang, Shenglei
2019-08-02 14:55:26 +08:00
committed by Hao A Wu
parent 1702e2ce5a
commit b9c3cbf6ec
7 changed files with 0 additions and 116 deletions

View File

@@ -1,29 +0,0 @@
/** @file
Null S3 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_S3_RESUME_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/S3Lib.h>
/**
This function is responsible for calling the S3 resume vector in the ACPI Tables.
@retval EFI_SUCESS Success to restore config from S3.
@retval Others Fail to restore config from S3.
**/
EFI_STATUS
EFIAPI
AcpiS3ResumeOs (
VOID
)
{
return EFI_UNSUPPORTED;
}

View File

@@ -1,34 +0,0 @@
## @file
# Null S3 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_S3_RESUME_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 = PeiS3LibNull
MODULE_UNI_FILE = PeiS3LibNull.uni
FILE_GUID = 018E1925-D6A2-4a2a-8958-817610A15ADF
MODULE_TYPE = PEIM
VERSION_STRING = 1.0
LIBRARY_CLASS = S3Lib|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]
PeiS3LibNull.c
[Packages]
MdePkg/MdePkg.dec
MdeModulePkg/MdeModulePkg.dec

View File

@@ -1,18 +0,0 @@
// /** @file
// Null S3 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_S3_RESUME_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 S3 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_S3_RESUME_PPI defined in PI 1.2 Specification."