summaryrefslogtreecommitdiff
path: root/IntelFrameworkModulePkg/Library/PeiS3Lib
diff options
context:
space:
mode:
authorqhuang8 <qhuang8@6f19259b-4bc3-4df7-8a09-765794883524>2009-08-11 15:52:57 +0000
committerqhuang8 <qhuang8@6f19259b-4bc3-4df7-8a09-765794883524>2009-08-11 15:52:57 +0000
commit7db60f82527709afed683b322cdb2399f1a6a7a2 (patch)
tree1708c1a6a2484b2a11f1a736293ae66731a6152a /IntelFrameworkModulePkg/Library/PeiS3Lib
parent05d71050393ab5ba2e0ffbe8fa84c3fc18663c3e (diff)
downloadedk2-platforms-7db60f82527709afed683b322cdb2399f1a6a7a2.tar.xz
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
Diffstat (limited to 'IntelFrameworkModulePkg/Library/PeiS3Lib')
-rw-r--r--IntelFrameworkModulePkg/Library/PeiS3Lib/PeiS3Lib.c10
-rw-r--r--IntelFrameworkModulePkg/Library/PeiS3Lib/PeiS3Lib.inf6
2 files changed, 10 insertions, 6 deletions
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 <FrameworkPei.h>
+
+#include <PiPei.h>
#include <Library/PeiServicesLib.h>
#include <Library/PeiServicesTablePointerLib.h>
#include <Library/DebugLib.h>
@@ -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