2015-02-23 17:02:55 +01:00
|
|
|
## @file
|
|
|
|
# The basic interfaces implementation to a single segment PCI Host Bridge driver.
|
|
|
|
#
|
|
|
|
# Copyright (c) 2008 - 2014, 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 = PciHostBridge
|
|
|
|
FILE_GUID = 9f609346-37cb-4eb7-801f-f55099373998
|
|
|
|
MODULE_TYPE = DXE_DRIVER
|
|
|
|
VERSION_STRING = 1.0
|
|
|
|
|
|
|
|
ENTRY_POINT = InitializePciHostBridge
|
|
|
|
|
|
|
|
[Packages]
|
2016-04-08 11:45:01 +02:00
|
|
|
MdeModulePkg/MdeModulePkg.dec
|
2015-02-23 17:02:55 +01:00
|
|
|
MdePkg/MdePkg.dec
|
2015-05-29 15:50:43 +02:00
|
|
|
ArmVirtPkg/ArmVirtPkg.dec
|
2015-02-23 17:02:55 +01:00
|
|
|
|
|
|
|
[LibraryClasses]
|
|
|
|
UefiDriverEntryPoint
|
|
|
|
UefiBootServicesTableLib
|
|
|
|
DxeServicesTableLib
|
|
|
|
UefiLib
|
|
|
|
MemoryAllocationLib
|
|
|
|
BaseMemoryLib
|
|
|
|
BaseLib
|
|
|
|
DebugLib
|
|
|
|
DevicePathLib
|
|
|
|
IoLib
|
|
|
|
PciLib
|
2015-02-23 17:03:06 +01:00
|
|
|
PcdLib
|
2015-02-23 17:02:55 +01:00
|
|
|
|
|
|
|
[Sources]
|
|
|
|
PciHostBridge.c
|
|
|
|
PciRootBridgeIo.c
|
|
|
|
PciHostBridge.h
|
|
|
|
|
|
|
|
[Protocols]
|
|
|
|
gEfiPciHostBridgeResourceAllocationProtocolGuid ## PRODUCES
|
|
|
|
gEfiPciRootBridgeIoProtocolGuid ## PRODUCES
|
|
|
|
gEfiMetronomeArchProtocolGuid ## CONSUMES
|
|
|
|
gEfiDevicePathProtocolGuid ## PRODUCES
|
2016-04-08 11:45:01 +02:00
|
|
|
gFdtClientProtocolGuid ## CONSUMES
|
2015-02-23 17:02:55 +01:00
|
|
|
|
2015-02-23 17:03:06 +01:00
|
|
|
[Pcd]
|
2015-02-23 17:03:11 +01:00
|
|
|
gEfiMdePkgTokenSpaceGuid.PcdPciExpressBaseAddress
|
2015-02-23 17:03:06 +01:00
|
|
|
|
2015-02-23 17:03:42 +01:00
|
|
|
[FeaturePcd]
|
2015-05-29 15:50:43 +02:00
|
|
|
gArmVirtTokenSpaceGuid.PcdKludgeMapPciMmioAsCached
|
2016-04-08 11:45:01 +02:00
|
|
|
gArmVirtTokenSpaceGuid.PcdPureAcpiBoot
|
2015-02-23 17:03:42 +01:00
|
|
|
|
2015-02-23 17:02:55 +01:00
|
|
|
[depex]
|
2015-02-23 17:03:42 +01:00
|
|
|
gEfiMetronomeArchProtocolGuid AND
|
2016-04-08 11:45:01 +02:00
|
|
|
gEfiCpuArchProtocolGuid AND
|
|
|
|
gFdtClientProtocolGuid
|