mirror of https://github.com/acidanthera/audk.git
MdePkg: Add PciSegmentLib instance based on PciLib
This PciSegmentLib instance only supports Segment 0 access. Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Ruiyu Ni <ruiyu.ni@intel.com> Reviewed-by: Liming Gao <liming.gao@intel.com> git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@19657 6f19259b-4bc3-4df7-8a09-765794883524
This commit is contained in:
parent
7ff66d3c4a
commit
32fa5588ff
|
@ -0,0 +1,43 @@
|
||||||
|
## @file
|
||||||
|
# Instance of PCI Segment Library based on PCI Library.
|
||||||
|
#
|
||||||
|
# PCI Segment Library that layers on top of the PCI Library which only
|
||||||
|
# supports segment 0 PCI configuration access.
|
||||||
|
#
|
||||||
|
# Copyright (c) 2016, 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 = BasePciSegmentLibPci
|
||||||
|
MODULE_UNI_FILE = BasePciSegmentLibPci.uni
|
||||||
|
FILE_GUID = AABF95D6-F40C-405F-8360-6A59794B8040
|
||||||
|
MODULE_TYPE = BASE
|
||||||
|
VERSION_STRING = 1.0
|
||||||
|
LIBRARY_CLASS = PciSegmentLib
|
||||||
|
|
||||||
|
#
|
||||||
|
# The following information is for reference only and not required by the build tools.
|
||||||
|
#
|
||||||
|
# VALID_ARCHITECTURES = IA32 X64 IPF EBC
|
||||||
|
#
|
||||||
|
|
||||||
|
[Sources]
|
||||||
|
PciSegmentLib.c
|
||||||
|
|
||||||
|
[Packages]
|
||||||
|
MdePkg/MdePkg.dec
|
||||||
|
|
||||||
|
[LibraryClasses]
|
||||||
|
BaseLib
|
||||||
|
PciLib
|
||||||
|
DebugLib
|
|
@ -0,0 +1,21 @@
|
||||||
|
// /** @file
|
||||||
|
// Instance of PCI Segment Library based on PCI Library.
|
||||||
|
//
|
||||||
|
// PCI Segment Library that layers on top of the PCI Library which only
|
||||||
|
// supports segment 0 PCI configuration access.
|
||||||
|
//
|
||||||
|
// Copyright (c) 2016, 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.
|
||||||
|
//
|
||||||
|
// **/
|
||||||
|
|
||||||
|
|
||||||
|
#string STR_MODULE_ABSTRACT #language en-US "Instance of PCI Segment Library based on PCI Library."
|
||||||
|
|
||||||
|
#string STR_MODULE_DESCRIPTION #language en-US "PCI Segment Library that layers on top of the PCI Library which only supports segment 0 PCI configuration access."
|
File diff suppressed because it is too large
Load Diff
|
@ -1,7 +1,7 @@
|
||||||
## @file
|
## @file
|
||||||
# EFI/PI MdePkg Package
|
# EFI/PI MdePkg Package
|
||||||
#
|
#
|
||||||
# Copyright (c) 2007 - 2015, Intel Corporation. All rights reserved.<BR>
|
# Copyright (c) 2007 - 2016, Intel Corporation. All rights reserved.<BR>
|
||||||
# Portions copyright (c) 2008 - 2009, Apple Inc. All rights reserved.<BR>
|
# Portions copyright (c) 2008 - 2009, Apple Inc. All rights reserved.<BR>
|
||||||
#
|
#
|
||||||
# This program and the accompanying materials
|
# This program and the accompanying materials
|
||||||
|
@ -68,6 +68,7 @@
|
||||||
MdePkg/Library/BasePciExpressLib/BasePciExpressLib.inf
|
MdePkg/Library/BasePciExpressLib/BasePciExpressLib.inf
|
||||||
MdePkg/Library/BasePciLibCf8/BasePciLibCf8.inf
|
MdePkg/Library/BasePciLibCf8/BasePciLibCf8.inf
|
||||||
MdePkg/Library/BasePciLibPciExpress/BasePciLibPciExpress.inf
|
MdePkg/Library/BasePciLibPciExpress/BasePciLibPciExpress.inf
|
||||||
|
MdePkg/Library/BasePciSegmentLibPci/BasePciSegmentLibPci.inf
|
||||||
MdePkg/Library/BasePeCoffGetEntryPointLib/BasePeCoffGetEntryPointLib.inf
|
MdePkg/Library/BasePeCoffGetEntryPointLib/BasePeCoffGetEntryPointLib.inf
|
||||||
MdePkg/Library/BasePeCoffLib/BasePeCoffLib.inf
|
MdePkg/Library/BasePeCoffLib/BasePeCoffLib.inf
|
||||||
MdePkg/Library/BasePeCoffExtraActionLibNull/BasePeCoffExtraActionLibNull.inf
|
MdePkg/Library/BasePeCoffExtraActionLibNull/BasePeCoffExtraActionLibNull.inf
|
||||||
|
|
Loading…
Reference in New Issue