From 7db60f82527709afed683b322cdb2399f1a6a7a2 Mon Sep 17 00:00:00 2001 From: qhuang8 Date: Tue, 11 Aug 2009 15:52:57 +0000 Subject: Update the comments for S3Lib and RecoveryLib instances to state that they are deprecated. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@9049 6f19259b-4bc3-4df7-8a09-765794883524 --- .../Library/PeiRecoveryLib/PeiRecoveryLib.c | 6 +++++- .../Library/PeiRecoveryLib/PeiRecoveryLib.inf | 6 ++++-- IntelFrameworkModulePkg/Library/PeiS3Lib/PeiS3Lib.c | 10 +++++++--- IntelFrameworkModulePkg/Library/PeiS3Lib/PeiS3Lib.inf | 6 +++--- 4 files changed, 19 insertions(+), 9 deletions(-) (limited to 'IntelFrameworkModulePkg') diff --git a/IntelFrameworkModulePkg/Library/PeiRecoveryLib/PeiRecoveryLib.c b/IntelFrameworkModulePkg/Library/PeiRecoveryLib/PeiRecoveryLib.c index 63233e601f..4c0a877131 100644 --- a/IntelFrameworkModulePkg/Library/PeiRecoveryLib/PeiRecoveryLib.c +++ b/IntelFrameworkModulePkg/Library/PeiRecoveryLib/PeiRecoveryLib.c @@ -1,6 +1,10 @@ /** @file This Library uses Framework RecoveryModule PPI to do system recovery. + 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 - 2009 Intel Corporation All rights reserved. This program and the accompanying materials are licensed and made available under the terms and conditions of the BSD License @@ -11,7 +15,7 @@ THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED. **/ -#include +#include #include #include #include diff --git a/IntelFrameworkModulePkg/Library/PeiRecoveryLib/PeiRecoveryLib.inf b/IntelFrameworkModulePkg/Library/PeiRecoveryLib/PeiRecoveryLib.inf index b6c7f01e9e..1fc11c9120 100644 --- a/IntelFrameworkModulePkg/Library/PeiRecoveryLib/PeiRecoveryLib.inf +++ b/IntelFrameworkModulePkg/Library/PeiRecoveryLib/PeiRecoveryLib.inf @@ -1,6 +1,10 @@ #/** @file # PEIM Recovery Library supports system recovery boot. # +# 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 - 2009, Intel Corporation. # # All rights reserved. This program and the accompanying materials @@ -33,8 +37,6 @@ [Packages] MdePkg/MdePkg.dec MdeModulePkg/MdeModulePkg.dec - IntelFrameworkPkg/IntelFrameworkPkg.dec - IntelFrameworkModulePkg/IntelFrameworkModulePkg.dec [LibraryClasses] BaseLib diff --git a/IntelFrameworkModulePkg/Library/PeiS3Lib/PeiS3Lib.c b/IntelFrameworkModulePkg/Library/PeiS3Lib/PeiS3Lib.c index b7d2380ce0..2d63c99f5e 100644 --- a/IntelFrameworkModulePkg/Library/PeiS3Lib/PeiS3Lib.c +++ b/IntelFrameworkModulePkg/Library/PeiS3Lib/PeiS3Lib.c @@ -1,6 +1,9 @@ /** @file This library provides API to invoke the S3 resume vector in the APCI Table in S3 resume mode. - This library instance is only for PEI phase use and the APIs in this instance + + 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 - 2008 Intel Corporation All rights reserved. This program and the accompanying materials @@ -12,7 +15,8 @@ THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED. **/ -#include + +#include #include #include #include @@ -22,7 +26,7 @@ WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED. /** This function is responsible for calling the S3 resume vector in the ACPI Tables. - @retval EFI_SUCESS Sucess to restore config from S3. + @retval EFI_SUCESS Success to restore config from S3. @retval Others Fail to restore config from S3. **/ EFI_STATUS diff --git a/IntelFrameworkModulePkg/Library/PeiS3Lib/PeiS3Lib.inf b/IntelFrameworkModulePkg/Library/PeiS3Lib/PeiS3Lib.inf index 76fb867aca..37dd716a7e 100644 --- a/IntelFrameworkModulePkg/Library/PeiS3Lib/PeiS3Lib.inf +++ b/IntelFrameworkModulePkg/Library/PeiS3Lib/PeiS3Lib.inf @@ -1,7 +1,9 @@ #/** @file # # This library provides API to invoke the S3 resume vector in the APCI Table in S3 resume mode. -# This library instance is only for PEI phase use and the APIs in this instance +# 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 - 2009, Intel Corporation. # @@ -36,8 +38,6 @@ [Packages] MdePkg/MdePkg.dec MdeModulePkg/MdeModulePkg.dec - IntelFrameworkPkg/IntelFrameworkPkg.dec - IntelFrameworkModulePkg/IntelFrameworkModulePkg.dec [LibraryClasses] PeiServicesTablePointerLib -- cgit v1.2.3