]> git.proxmox.com Git - mirror_edk2.git/blobdiff - MdePkg/Library/BasePciLibPciExpress/PciLib.c
Code Scrub for MdePkg.
[mirror_edk2.git] / MdePkg / Library / BasePciLibPciExpress / PciLib.c
index 0183bef22b3555e9fa360628f9d0fbf0acf05a02..33526a7d93f65de353e0cd35d16cab55bb90c786 100644 (file)
@@ -1,7 +1,8 @@
 /** @file\r
-  PCI Library using PC Express access.\r
+  PCI Library functions that use the 256 MB PCI Express MMIO window to perform PCI\r
+  Configuration cycles. Layers on PCI Express Library.\r
 \r
-  Copyright (c) 2006, Intel Corporation<BR>\r
+  Copyright (c) 2006 - 2008, Intel Corporation<BR>\r
   All rights reserved. This program and the accompanying materials\r
   are licensed and made available under the terms and conditions of the BSD License\r
   which accompanies this distribution.  The full text of the license may be found at\r
 \r
 **/\r
 \r
-//\r
-// The package level header files this module uses\r
-//\r
+\r
 #include <Base.h>\r
-//\r
-// The protocols, PPI and GUID defintions for this module\r
-//\r
-//\r
-// The Library classes this module consumes\r
-//\r
+\r
 #include <Library/PciLib.h>\r
 #include <Library/PciExpressLib.h>\r
 \r
@@ -60,7 +54,7 @@ PciRead8 (
 \r
   @param  Address Address that encodes the PCI Bus, Device, Function and\r
                   Register.\r
-  @param  Value   The value to write.\r
+  @param  Data    The value to write.\r
 \r
   @return The value written to the PCI configuration register.\r
 \r
@@ -69,10 +63,10 @@ UINT8
 EFIAPI\r
 PciWrite8 (\r
   IN      UINTN                     Address,\r
-  IN      UINT8                     Data\r
+  IN      UINT8                     Value\r
   )\r
 {\r
-  return PciExpressWrite8 (Address, Data);\r
+  return PciExpressWrite8 (Address, Value);\r
 }\r
 \r
 /**\r
@@ -388,7 +382,7 @@ PciRead16 (
 \r
   @param  Address Address that encodes the PCI Bus, Device, Function and\r
                   Register.\r
-  @param  Value   The value to write.\r
+  @param  Data   The value to write.\r
 \r
   @return The value written to the PCI configuration register.\r
 \r
@@ -397,10 +391,10 @@ UINT16
 EFIAPI\r
 PciWrite16 (\r
   IN      UINTN                     Address,\r
-  IN      UINT16                    Data\r
+  IN      UINT16                    Value\r
   )\r
 {\r
-  return PciExpressWrite16 (Address, Data);\r
+  return PciExpressWrite16 (Address, Value);\r
 }\r
 \r
 /**\r
@@ -716,7 +710,7 @@ PciRead32 (
 \r
   @param  Address Address that encodes the PCI Bus, Device, Function and\r
                   Register.\r
-  @param  Value   The value to write.\r
+  @param  Data    The value to write.\r
 \r
   @return The value written to the PCI configuration register.\r
 \r
@@ -725,10 +719,10 @@ UINT32
 EFIAPI\r
 PciWrite32 (\r
   IN      UINTN                     Address,\r
-  IN      UINT32                    Data\r
+  IN      UINT32                    Value\r
   )\r
 {\r
-  return PciExpressWrite32 (Address, Data);\r
+  return PciExpressWrite32 (Address, Value);\r
 }\r
 \r
 /**\r