summaryrefslogtreecommitdiff
path: root/MdeModulePkg/Library/PeiS3LibNull
diff options
context:
space:
mode:
authorlgao4 <lgao4@6f19259b-4bc3-4df7-8a09-765794883524>2009-01-04 03:20:55 +0000
committerlgao4 <lgao4@6f19259b-4bc3-4df7-8a09-765794883524>2009-01-04 03:20:55 +0000
commit109e9a6156b2c9540fd4b1b6ce17ac5be1fa03c4 (patch)
treececfbd5ce484c026dd321e384e2609761bd555ea /MdeModulePkg/Library/PeiS3LibNull
parent303ee61d53cde4c064729709fa890ead41bbe00b (diff)
downloadedk2-109e9a6156b2c9540fd4b1b6ce17ac5be1fa03c4.zip
edk2-109e9a6156b2c9540fd4b1b6ce17ac5be1fa03c4.tar.gz
edk2-109e9a6156b2c9540fd4b1b6ce17ac5be1fa03c4.tar.bz2
Code scrub for the following drivers and librarys.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7172 6f19259b-4bc3-4df7-8a09-765794883524
Diffstat (limited to 'MdeModulePkg/Library/PeiS3LibNull')
-rw-r--r--MdeModulePkg/Library/PeiS3LibNull/PeiS3LibNull.c3
-rw-r--r--MdeModulePkg/Library/PeiS3LibNull/PeiS3LibNull.inf9
2 files changed, 5 insertions, 7 deletions
diff --git a/MdeModulePkg/Library/PeiS3LibNull/PeiS3LibNull.c b/MdeModulePkg/Library/PeiS3LibNull/PeiS3LibNull.c
index 6ccecea..096a6af 100644
--- a/MdeModulePkg/Library/PeiS3LibNull/PeiS3LibNull.c
+++ b/MdeModulePkg/Library/PeiS3LibNull/PeiS3LibNull.c
@@ -1,5 +1,5 @@
/** @file
- S3 Library. This library class defines a set of methods related do S3 mode
+ Null S3 Library instance does nothing and returns unsupport status.
Copyright (c) 2006 - 2008, Intel Corporation. <BR>
All rights reserved. This program and the accompanying materials
@@ -12,6 +12,7 @@ WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
**/
#include <PiPei.h>
+#include <Library/S3Lib.h>
/**
This function is responsible for calling the S3 resume vector in the ACPI Tables.
diff --git a/MdeModulePkg/Library/PeiS3LibNull/PeiS3LibNull.inf b/MdeModulePkg/Library/PeiS3LibNull/PeiS3LibNull.inf
index b2ba727..df99874 100644
--- a/MdeModulePkg/Library/PeiS3LibNull/PeiS3LibNull.inf
+++ b/MdeModulePkg/Library/PeiS3LibNull/PeiS3LibNull.inf
@@ -1,6 +1,7 @@
#/** @file
#
-# A NULL instance of S3 Library for PEIM
+# Null S3 library instance for PEIM module
+# It can make core modules pass package level build.
#
# Copyright (c) 2006 - 2008, Intel Corporation.
#
@@ -29,13 +30,9 @@
# VALID_ARCHITECTURES = IA32 X64 IPF EBC (EBC is for build only)
#
-[Sources.common]
+[Sources]
PeiS3LibNull.c
[Packages]
MdePkg/MdePkg.dec
MdeModulePkg/MdeModulePkg.dec
-
-[LibraryClasses]
- BaseLib
-