Add runtime safe PCI Express Library instance

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6709 6f19259b-4bc3-4df7-8a09-765794883524
This commit is contained in:
mdkinney 2008-11-24 08:36:02 +00:00
parent 3e3ae63457
commit 93b5b853fa
2 changed files with 1682 additions and 0 deletions

View File

@ -0,0 +1,55 @@
#/** @file
# Instance of PCI Express Library using the 256 MB PCI Express MMIO window that
# is safe for runtime use.
#
# PCI Express Library that uses the 256 MB PCI Express MMIO window to perform
# PCI Configuration cycles. Layers on top of an I/O Library instance. A table of
# PCI devices that are registered for for runtime access is maintained so the
# proper virtual address is used to perform the PCI Express Configuration cycle.
#
# 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 = DxeRuntimePciExpressLib
FILE_GUID = 54DCBCE5-92AD-41f5-AAAF-1170F16DA6A8
MODULE_TYPE = DXE_RUNTIME_DRIVER
VERSION_STRING = 1.0
LIBRARY_CLASS = PciExpressLib|DXE_RUNTIME_DRIVER
EDK_RELEASE_VERSION = 0x00020000
CONSTRUCTOR = DxeRuntimePciExpressLibConstructor
DESTRUCTOR = DxeRuntimePciExpressLibDestructor
#
# VALID_ARCHITECTURES = IA32 X64 IPF EBC
#
[Sources.common]
PciExpressLib.c
[Packages]
MdePkg/MdePkg.dec
[LibraryClasses]
BaseLib
IoLib
DebugLib
PcdLib
MemoryAllocationLib
UefiBootServicesTableLib
DxeServicesTableLib
UefiRuntimeLib
[Pcd.common]
gEfiMdePkgTokenSpaceGuid.PcdPciExpressBaseAddress

File diff suppressed because it is too large Load Diff