• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1## @file
2#  An instance of the PCI Library that is based on both the PCI CF8 Library and
3#  the PCI Express Library.
4#
5#  This PciLib instance caches the OVMF platform type (I440FX vs. Q35) in
6#  its entry point function, then delegates function calls to one of the
7#  PciCf8Lib or PciExpressLib "backends" as appropriate.
8#
9#  Copyright (C) 2016, Red Hat, Inc.
10#
11#  Copyright (c) 2007 - 2014, Intel Corporation. All rights reserved.<BR>
12#
13#  This program and the accompanying materials are licensed and made available
14#  under the terms and conditions of the BSD License which accompanies this
15#  distribution. The full text of the license may be found at
16#  http://opensource.org/licenses/bsd-license.php.
17#
18#  THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,
19#  WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR
20#  IMPLIED.
21##
22
23[Defines]
24  INF_VERSION                    = 0x00010005
25  BASE_NAME                      = DxePciLibI440FxQ35
26  FILE_GUID                      = 5360bff6-3911-4495-ae3c-b02ff004b585
27  MODULE_TYPE                    = BASE
28  VERSION_STRING                 = 1.0
29  LIBRARY_CLASS                  = PciLib|DXE_DRIVER DXE_RUNTIME_DRIVER SMM_CORE DXE_SMM_DRIVER UEFI_DRIVER UEFI_APPLICATION
30  CONSTRUCTOR                    = InitializeConfigAccessMethod
31
32#  VALID_ARCHITECTURES           = IA32 X64
33
34[Sources]
35  PciLib.c
36
37[Packages]
38  MdePkg/MdePkg.dec
39  OvmfPkg/OvmfPkg.dec
40
41[LibraryClasses]
42  PcdLib
43  PciCf8Lib
44  PciExpressLib
45
46[Pcd]
47  gUefiOvmfPkgTokenSpaceGuid.PcdOvmfHostBridgePciDevId
48