OvmfPkg: clone PciHostBridgeDxe from PcAtChipsetPkg
The source code is copied verbatim, with the following two exceptions: - the UNI files are dropped, together with the corresponding UNI references in the INF file, - the INF file receives a new FILE_GUID. The OVMF DSC and FDF files are at once flipped to the cloned driver. Cc: Jordan Justen <jordan.l.justen@intel.com> Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Laszlo Ersek <lersek@redhat.com> Regression-tested-by: Gabriel Somlo <somlo@cmu.edu> Reviewed-by: Jordan Justen <jordan.l.justen@intel.com> git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@17951 6f19259b-4bc3-4df7-8a09-765794883524
This commit is contained in:
64
OvmfPkg/PciHostBridgeDxe/PciHostBridgeDxe.inf
Normal file
64
OvmfPkg/PciHostBridgeDxe/PciHostBridgeDxe.inf
Normal file
@@ -0,0 +1,64 @@
|
||||
## @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 = 311161C5-BFD9-4504-8016-213F2DAEDAF3
|
||||
MODULE_TYPE = DXE_DRIVER
|
||||
VERSION_STRING = 1.0
|
||||
|
||||
ENTRY_POINT = InitializePciHostBridge
|
||||
|
||||
[Packages]
|
||||
MdePkg/MdePkg.dec
|
||||
|
||||
[LibraryClasses]
|
||||
UefiDriverEntryPoint
|
||||
UefiBootServicesTableLib
|
||||
DxeServicesTableLib
|
||||
UefiLib
|
||||
MemoryAllocationLib
|
||||
BaseMemoryLib
|
||||
BaseLib
|
||||
DebugLib
|
||||
DevicePathLib
|
||||
IoLib
|
||||
PciLib
|
||||
|
||||
[Sources]
|
||||
PciHostBridge.c
|
||||
PciRootBridgeIo.c
|
||||
PciHostBridge.h
|
||||
IoFifo.h
|
||||
|
||||
[Sources.IA32]
|
||||
Ia32/IoFifo.asm
|
||||
Ia32/IoFifo.S
|
||||
|
||||
[Sources.X64]
|
||||
X64/IoFifo.asm
|
||||
X64/IoFifo.S
|
||||
|
||||
[Protocols]
|
||||
gEfiPciHostBridgeResourceAllocationProtocolGuid ## PRODUCES
|
||||
gEfiPciRootBridgeIoProtocolGuid ## PRODUCES
|
||||
gEfiMetronomeArchProtocolGuid ## CONSUMES
|
||||
gEfiDevicePathProtocolGuid ## PRODUCES
|
||||
|
||||
[depex]
|
||||
gEfiMetronomeArchProtocolGuid
|
Reference in New Issue
Block a user