Add following library instances to MDE package:
1. DxePciLibPciRootBridgeIo 2. DxePciSegmentLibPciRootBridgeIo 3. PeiPciLibPciCfg2 4. PeiPciSegmentLibPciCfg2 5. UefiPalLib 6. UefiSalLib git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6451 6f19259b-4bc3-4df7-8a09-765794883524
This commit is contained in:
1387
MdePkg/Library/PeiPciSegmentLibPciCfg2/PciSegmentLib.c
Normal file
1387
MdePkg/Library/PeiPciSegmentLibPciCfg2/PciSegmentLib.c
Normal file
File diff suppressed because it is too large
Load Diff
@@ -0,0 +1,52 @@
|
||||
# @file
|
||||
# This driver implements PCI Segment Lib using PCI CFG2 PPI.
|
||||
#
|
||||
# This library produces the APIs from the PCI Segment Library and
|
||||
# implements these APIs by calling into the EFI_PEI_PCI CFG2 PPI. One or more
|
||||
# EFI_PEI_PCI CFG2 PPIs are typically produced by a chipset specific PEIM.
|
||||
# This library instance should only be used platforms with multiple PCI segments.
|
||||
#
|
||||
# Copyright (c) 2007 - 2008, 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
|
||||
# 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 = PeiPciSegmentLibPciCfg2
|
||||
FILE_GUID = 254901AD-7DB7-45f8-93C8-93D579398D9F
|
||||
MODULE_TYPE = PEIM
|
||||
VERSION_STRING = 1.0
|
||||
LIBRARY_CLASS = PciSegmentLib|PEIM
|
||||
EDK_RELEASE_VERSION = 0x00020000
|
||||
EFI_SPECIFICATION_VERSION = 0x00020000
|
||||
|
||||
|
||||
#
|
||||
# The following information is for reference only and not required by the build tools.
|
||||
#
|
||||
# VALID_ARCHITECTURES = IA32 X64 IPF
|
||||
#
|
||||
|
||||
[Sources.common]
|
||||
PciSegmentLib.c
|
||||
|
||||
[Packages]
|
||||
MdePkg/MdePkg.dec
|
||||
|
||||
[LibraryClasses]
|
||||
PeiServicesTablePointerLib
|
||||
BaseLib
|
||||
DebugLib
|
||||
PeiServicesLib
|
||||
|
||||
[Ppis]
|
||||
gEfiPciCfg2PpiGuid # PPI ALWAYS_CONSUMED
|
||||
|
Reference in New Issue
Block a user