From 5c57f3eaeae2f917891f969ea9509216cf1f6cad Mon Sep 17 00:00:00 2001 From: vanjeff Date: Wed, 9 Jul 2008 07:21:21 +0000 Subject: 1. Update files header. 2. Added missing libraries in inf files. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5431 6f19259b-4bc3-4df7-8a09-765794883524 --- MdePkg/Library/BasePciCf8Lib/BasePciCf8Lib.inf | 7 +++---- MdePkg/Library/BasePciCf8Lib/PciLib.c | 5 +++-- MdePkg/Library/BasePciExpressLib/BasePciExpressLib.inf | 6 +++--- MdePkg/Library/BasePciExpressLib/PciLib.c | 2 -- MdePkg/Library/BasePciLibCf8/BasePciLibCf8.inf | 8 +++----- MdePkg/Library/BasePciLibCf8/PciLib.c | 4 ++-- MdePkg/Library/BasePciLibPciExpress/BasePciLibPciExpress.inf | 7 +++---- MdePkg/Library/BasePciLibPciExpress/PciLib.c | 4 ++-- 8 files changed, 19 insertions(+), 24 deletions(-) diff --git a/MdePkg/Library/BasePciCf8Lib/BasePciCf8Lib.inf b/MdePkg/Library/BasePciCf8Lib/BasePciCf8Lib.inf index 5b8d1e5431..5ec10817fe 100644 --- a/MdePkg/Library/BasePciCf8Lib/BasePciCf8Lib.inf +++ b/MdePkg/Library/BasePciCf8Lib/BasePciCf8Lib.inf @@ -1,9 +1,9 @@ #/** @file -# Component description file for Base PCI Cf8 Library. +# This driver implemnets one PCI Cf8 Library instance. # # PCI CF8 Library that uses I/O ports 0xCF8 and 0xCFC to perform PCI Configuration cycles. # Layers on top of an I/O Library instance. -# Copyright (c) 2007, Intel Corporation. +# 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 @@ -25,7 +25,6 @@ EDK_RELEASE_VERSION = 0x00020000 EFI_SPECIFICATION_VERSION = 0x00020000 - # # VALID_ARCHITECTURES = IA32 X64 IPF EBC # @@ -33,11 +32,11 @@ [Sources.common] PciLib.c - [Packages] MdePkg/MdePkg.dec [LibraryClasses] + BaseLib DebugLib IoLib diff --git a/MdePkg/Library/BasePciCf8Lib/PciLib.c b/MdePkg/Library/BasePciCf8Lib/PciLib.c index 64bd1557fc..2754d30560 100644 --- a/MdePkg/Library/BasePciCf8Lib/PciLib.c +++ b/MdePkg/Library/BasePciCf8Lib/PciLib.c @@ -1,7 +1,8 @@ /** @file - PCI Library. + PCI CF8 Library functions that use I/O ports 0xCF8 and 0xCFC to perform PCI Configuration cycles. + Layers on top of an I/O Library instance. - Copyright (c) 2006, Intel Corporation
+ Copyright (c) 2006 - 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 diff --git a/MdePkg/Library/BasePciExpressLib/BasePciExpressLib.inf b/MdePkg/Library/BasePciExpressLib/BasePciExpressLib.inf index 0a6e51a6ee..a067844ef3 100644 --- a/MdePkg/Library/BasePciExpressLib/BasePciExpressLib.inf +++ b/MdePkg/Library/BasePciExpressLib/BasePciExpressLib.inf @@ -1,9 +1,9 @@ #/** @file -# Component description file for Base PCI Express Library. +# This driver implements one PCI Express Library instance. # # 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. -# Copyright (c) 2007, Intel Corporation. +# 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 @@ -35,8 +35,8 @@ [Packages] MdePkg/MdePkg.dec - [LibraryClasses] + BaseLib PcdLib DebugLib IoLib diff --git a/MdePkg/Library/BasePciExpressLib/PciLib.c b/MdePkg/Library/BasePciExpressLib/PciLib.c index 37d8bcd3b5..6bce8f9550 100644 --- a/MdePkg/Library/BasePciExpressLib/PciLib.c +++ b/MdePkg/Library/BasePciExpressLib/PciLib.c @@ -1,6 +1,4 @@ /** @file - PCI Library. - Functions in this library instance make use of MMIO functions in IoLib to access memory mapped PCI configuration space. diff --git a/MdePkg/Library/BasePciLibCf8/BasePciLibCf8.inf b/MdePkg/Library/BasePciLibCf8/BasePciLibCf8.inf index 993adf4af9..be28249f3a 100644 --- a/MdePkg/Library/BasePciLibCf8/BasePciLibCf8.inf +++ b/MdePkg/Library/BasePciLibCf8/BasePciLibCf8.inf @@ -1,9 +1,9 @@ #/** @file -# Component description file for PCI CF8 Base PCI Library +# This driver implements one PCI Library instance based on PCI CF8 Library. # # PCI Library that uses I/O ports 0xCF8 and 0xCFC to perform -# PCI Configuration cycles. Layers on top of an I/O Library instance. -# Copyright (c) 2007, Intel Corporation. +# PCI Configuration cycles. Layers on top of one PCI CF8 Library instance. +# 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 @@ -32,11 +32,9 @@ [Sources.common] PciLib.c - [Packages] MdePkg/MdePkg.dec - [LibraryClasses] PciCf8Lib diff --git a/MdePkg/Library/BasePciLibCf8/PciLib.c b/MdePkg/Library/BasePciLibCf8/PciLib.c index 3e13c67864..af71b88e59 100644 --- a/MdePkg/Library/BasePciLibCf8/PciLib.c +++ b/MdePkg/Library/BasePciLibCf8/PciLib.c @@ -1,5 +1,6 @@ /** @file - PCI Library using Port CF8/CFC access. + PCI Library functions that use I/O ports 0xCF8 and 0xCFC to perform + PCI Configuration cycles. Layers on top of one PCI CF8 Library instance. Copyright (c) 2006 - 2008, Intel Corporation
All rights reserved. This program and the accompanying materials @@ -15,7 +16,6 @@ #include - #include #include diff --git a/MdePkg/Library/BasePciLibPciExpress/BasePciLibPciExpress.inf b/MdePkg/Library/BasePciLibPciExpress/BasePciLibPciExpress.inf index ffc5984378..c74f680f96 100644 --- a/MdePkg/Library/BasePciLibPciExpress/BasePciLibPciExpress.inf +++ b/MdePkg/Library/BasePciLibPciExpress/BasePciLibPciExpress.inf @@ -1,9 +1,9 @@ #/** @file -# Component description file for PCI Express Base PCI Library. +# This driver impements one PCI Library based on PCI Express Library. # # PCI Library that uses the 256 MB PCI Express MMIO window to perform PCI -# Configuration cycles. Layers on top of an I/O Library instance. -# Copyright (c) 2007, Intel Corporation. +# Configuration cycles. Layers on one PCI Express Library instance. +# 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 @@ -33,7 +33,6 @@ [Sources.common] PciLib.c - [Packages] MdePkg/MdePkg.dec diff --git a/MdePkg/Library/BasePciLibPciExpress/PciLib.c b/MdePkg/Library/BasePciLibPciExpress/PciLib.c index 8cfa41c12a..c993848043 100644 --- a/MdePkg/Library/BasePciLibPciExpress/PciLib.c +++ b/MdePkg/Library/BasePciLibPciExpress/PciLib.c @@ -1,5 +1,6 @@ /** @file - PCI Library using PC Express access. + PCI Library functions that use the 256 MB PCI Express MMIO window to perform PCI + Configuration cycles. Layers on PCI Express Library. Copyright (c) 2006 - 2008, Intel Corporation
All rights reserved. This program and the accompanying materials @@ -15,7 +16,6 @@ #include - #include #include -- cgit v1.2.3