1## @file
2# PCI Segment Library that layers on top of the PCI Root Bridge I/O Protocol.
3#
4# This library produces the APIs from the PCI Library and implements these APIs
5#  by calling into the PCI Root Bridge I/O Protocols that are present in the platform.
6#  The PCI Root Bridge I/O Protocols are typically produced by a chipset specific DXE driver.
7#  This library binds to all of the PCI Root Bridge I/O Protocols in the platform and handles
8#  the translation from a PCI segment number into a specific PCI Root Bridge I/O Protocol.
9#
10# Copyright (c) 2007 - 2014, Intel Corporation. All rights reserved.<BR>
11#
12#  This program and the accompanying materials
13#  are licensed and made available under the terms and conditions of the BSD License
14#  which accompanies this distribution. The full text of the license may be found at
15#  http://opensource.org/licenses/bsd-license.php.
16#  THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,
17#  WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
18#
19#
20##
21
22[Defines]
23  INF_VERSION                    = 0x00010005
24  BASE_NAME                      = UefiPciSegmentLibPciRootBridgeIo
25  MODULE_UNI_FILE                = UefiPciSegmentLibPciRootBridgeIo.uni
26  FILE_GUID                      = C6068612-B6E0-48a3-BB92-60E4A4F89EDF
27  MODULE_TYPE                    = UEFI_DRIVER
28  VERSION_STRING                 = 1.0
29  LIBRARY_CLASS                  = PciSegmentLib|DXE_DRIVER DXE_RUNTIME_DRIVER DXE_SMM_DRIVER DXE_SAL_DRIVER UEFI_DRIVER UEFI_APPLICATION
30
31  CONSTRUCTOR                    = PciSegmentLibConstructor
32  DESTRUCTOR                     = PciSegmentLibDestructor
33
34#
35# The following information is for reference only and not required by the build tools.
36#
37#  VALID_ARCHITECTURES           = IA32 X64 IPF EBC
38#
39
40[Sources]
41  PciSegmentLib.h
42  PciSegmentLib.c
43
44
45[Packages]
46  MdePkg/MdePkg.dec
47
48
49[LibraryClasses]
50  MemoryAllocationLib
51  BaseLib
52  UefiBootServicesTableLib
53  DebugLib
54
55[Protocols]
56  gEfiPciRootBridgeIoProtocolGuid               ## CONSUMES
57
58[Depex.common.DXE_DRIVER, Depex.common.DXE_RUNTIME_DRIVER, Depex.common.DXE_SAL_DRIVER, Depex.common.DXE_SMM_DRIVER]
59  gEfiPciRootBridgeIoProtocolGuid
60
61