diff options
author | Ruiyu Ni <ruiyu.ni@intel.com> | 2017-08-04 13:23:24 +0800 |
---|---|---|
committer | Ruiyu Ni <ruiyu.ni@intel.com> | 2017-08-28 16:47:05 +0800 |
commit | a2285a8963840683a28ed051077190b086c423eb (patch) | |
tree | dad8779aafd39b9cc1048fdaa6b86295ccae17d2 /MdePkg/Library/BaseS3PciSegmentLib/BaseS3PciSegmentLib.inf | |
parent | 5c9bb86f171c9a3a89ac4b5b00518cb00bf32132 (diff) | |
download | edk2-a2285a8963840683a28ed051077190b086c423eb.tar.gz edk2-a2285a8963840683a28ed051077190b086c423eb.tar.bz2 edk2-a2285a8963840683a28ed051077190b086c423eb.zip |
MdePkg/S3PciSegmentLib: Add S3PciSegmentLib class and instance.
The patch adds the new library class S3PciSegmentLib to carry out
PCI configuration and enable the PCI operations to be replayed during
an S3 resume. This library class maps directly on top of the
PciSegmentLib class.
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Ruiyu Ni <ruiyu.ni@intel.com>
Reviewed-by: Liming Gao <liming.gao@intel.com>
Diffstat (limited to 'MdePkg/Library/BaseS3PciSegmentLib/BaseS3PciSegmentLib.inf')
-rw-r--r-- | MdePkg/Library/BaseS3PciSegmentLib/BaseS3PciSegmentLib.inf | 45 |
1 files changed, 45 insertions, 0 deletions
diff --git a/MdePkg/Library/BaseS3PciSegmentLib/BaseS3PciSegmentLib.inf b/MdePkg/Library/BaseS3PciSegmentLib/BaseS3PciSegmentLib.inf new file mode 100644 index 0000000000..18df4a0be3 --- /dev/null +++ b/MdePkg/Library/BaseS3PciSegmentLib/BaseS3PciSegmentLib.inf @@ -0,0 +1,45 @@ +## @file
+# Instance of S3 PCI Segment Library based on PCI Segment and S3 BootScript Library.
+#
+# S3 PCI Segment Services that perform PCI Configuration cycles and
+# also enable the PCI operation to be replayed during an S3 resume.
+#
+# Copyright (c) 2017, Intel Corporation. All rights reserved.<BR>
+#
+# This program and the accompanying materials are
+# licensed and made available under the terms and conditions of the BSD License
+# which accompanies this distribution. The full text of the license may be found at
+# http://opensource.org/licenses/bsd-license.php
+#
+# THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,
+# WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
+#
+##
+
+[Defines]
+ INF_VERSION = 0x00010005
+ BASE_NAME = BaseS3SegmentPciLib
+ MODULE_UNI_FILE = BaseS3SegmentPciLib.uni
+ FILE_GUID = 17E2C90E-AD1F-443A-8C94-6E50C0E98607
+ MODULE_TYPE = BASE
+ VERSION_STRING = 1.0
+ LIBRARY_CLASS = S3PciSegmentLib
+
+
+#
+# The following information is for reference only and not required by the build tools.
+#
+# VALID_ARCHITECTURES = IA32 X64 IPF EBC
+#
+
+[Sources]
+ S3PciSegmentLib.c
+
+
+[Packages]
+ MdePkg/MdePkg.dec
+
+[LibraryClasses]
+ PciSegmentLib
+ S3BootScriptLib
+ DebugLib
|