summaryrefslogtreecommitdiffstats
path: root/MdePkg/Library
diff options
context:
space:
mode:
authorvanjeff <vanjeff@6f19259b-4bc3-4df7-8a09-765794883524>2008-07-09 07:21:21 +0000
committervanjeff <vanjeff@6f19259b-4bc3-4df7-8a09-765794883524>2008-07-09 07:21:21 +0000
commit5c57f3eaeae2f917891f969ea9509216cf1f6cad (patch)
tree4dee88a505c7bbc2b6c27dc50d126cd4bb36d191 /MdePkg/Library
parentcbc1082c98f060a07f6d4b6043daa535b9d8f85f (diff)
downloadedk2-5c57f3eaeae2f917891f969ea9509216cf1f6cad.tar.gz
edk2-5c57f3eaeae2f917891f969ea9509216cf1f6cad.tar.bz2
edk2-5c57f3eaeae2f917891f969ea9509216cf1f6cad.zip
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
Diffstat (limited to 'MdePkg/Library')
-rw-r--r--MdePkg/Library/BasePciCf8Lib/BasePciCf8Lib.inf7
-rw-r--r--MdePkg/Library/BasePciCf8Lib/PciLib.c5
-rw-r--r--MdePkg/Library/BasePciExpressLib/BasePciExpressLib.inf6
-rw-r--r--MdePkg/Library/BasePciExpressLib/PciLib.c2
-rw-r--r--MdePkg/Library/BasePciLibCf8/BasePciLibCf8.inf8
-rw-r--r--MdePkg/Library/BasePciLibCf8/PciLib.c4
-rw-r--r--MdePkg/Library/BasePciLibPciExpress/BasePciLibPciExpress.inf7
-rw-r--r--MdePkg/Library/BasePciLibPciExpress/PciLib.c4
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<BR>
+ Copyright (c) 2006 - 2008, Intel Corporation<BR>
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<BR>
All rights reserved. This program and the accompanying materials
@@ -15,7 +16,6 @@
#include <Base.h>
-
#include <Library/PciLib.h>
#include <Library/PciCf8Lib.h>
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<BR>
All rights reserved. This program and the accompanying materials
@@ -15,7 +16,6 @@
#include <Base.h>
-
#include <Library/PciLib.h>
#include <Library/PciExpressLib.h>