]> git.proxmox.com Git - mirror_edk2.git/commitdiff
Ecc clean.
authorvanjeff <vanjeff@6f19259b-4bc3-4df7-8a09-765794883524>
Tue, 8 Jul 2008 05:18:46 +0000 (05:18 +0000)
committervanjeff <vanjeff@6f19259b-4bc3-4df7-8a09-765794883524>
Tue, 8 Jul 2008 05:18:46 +0000 (05:18 +0000)
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5415 6f19259b-4bc3-4df7-8a09-765794883524

MdePkg/Include/Library/PciCf8Lib.h
MdePkg/Include/Library/PciExpressLib.h
MdePkg/Include/Library/PciLib.h
MdePkg/Library/BasePciExpressLib/PciLib.c
MdePkg/Library/BasePciLibCf8/PciLib.c
MdePkg/Library/BasePciLibPciExpress/PciLib.c

index 1f6ec13ffdd18f550bee29c45fbb30583c19369d..41491f01a2dcb72df02737bcdc1de808b5b82c41 100644 (file)
@@ -1,7 +1,7 @@
 /** @file\r
   PCI CF8 Library Services for PCI Segment #0\r
 \r
-  Copyright (c) 2006, Intel Corporation\r
+  Copyright (c) 2006 - 2008, Intel Corporation\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
@@ -78,7 +78,7 @@ UINT8
 EFIAPI\r
 PciCf8Write8 (\r
   IN      UINTN                     Address,\r
-  IN      UINT8                     Data\r
+  IN      UINT8                     Value\r
   );\r
 \r
 /**\r
@@ -388,7 +388,7 @@ UINT16
 EFIAPI\r
 PciCf8Write16 (\r
   IN      UINTN                     Address,\r
-  IN      UINT16                    Data\r
+  IN      UINT16                    Value\r
   );\r
 \r
 /**\r
@@ -706,7 +706,7 @@ UINT32
 EFIAPI\r
 PciCf8Write32 (\r
   IN      UINTN                     Address,\r
-  IN      UINT32                    Data\r
+  IN      UINT32                    Value\r
   );\r
 \r
 /**\r
index 1c5bbcfb2e68389c36d01cfcf21d228f82e20eff..de69b810f624524b1e9013bd141b9b15a5963ce4 100644 (file)
@@ -1,7 +1,7 @@
 /** @file\r
   Pci Express Library Services for PCI Segment #0\r
 \r
-  Copyright (c) 2006, Intel Corporation\r
+  Copyright (c) 2006 - 2008, Intel Corporation\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
@@ -77,7 +77,7 @@ UINT8
 EFIAPI\r
 PciExpressWrite8 (\r
   IN      UINTN                     Address,\r
-  IN      UINT8                     Data\r
+  IN      UINT8                     Value\r
   );\r
 \r
 /**\r
@@ -377,7 +377,7 @@ UINT16
 EFIAPI\r
 PciExpressWrite16 (\r
   IN      UINTN                     Address,\r
-  IN      UINT16                    Data\r
+  IN      UINT16                    Value\r
   );\r
 \r
 /**\r
@@ -685,7 +685,7 @@ UINT32
 EFIAPI\r
 PciExpressWrite32 (\r
   IN      UINTN                     Address,\r
-  IN      UINT32                    Data\r
+  IN      UINT32                    Value\r
   );\r
 \r
 /**\r
index 31a64d961673f61de4b29eb59ec36f5951b7f701..f8e4b572f9c9cc25393e7d7404bf61095bd4bee2 100644 (file)
@@ -1,7 +1,7 @@
 /** @file\r
   PCI Library Services for PCI Segment #0\r
 \r
-  Copyright (c) 2006, Intel Corporation\r
+  Copyright (c) 2006 - 2008, Intel Corporation\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
@@ -72,7 +72,7 @@ UINT8
 EFIAPI\r
 PciWrite8 (\r
   IN      UINTN                     Address,\r
-  IN      UINT8                     Data\r
+  IN      UINT8                     Value\r
   );\r
 \r
 /**\r
@@ -372,7 +372,7 @@ UINT16
 EFIAPI\r
 PciWrite16 (\r
   IN      UINTN                     Address,\r
-  IN      UINT16                    Data\r
+  IN      UINT16                    Value\r
   );\r
 \r
 /**\r
@@ -680,7 +680,7 @@ UINT32
 EFIAPI\r
 PciWrite32 (\r
   IN      UINTN                     Address,\r
-  IN      UINT32                    Data\r
+  IN      UINT32                    Value\r
   );\r
 \r
 /**\r
index fab8107af38316ec5833a55e1229cde802f18e5b..37d8bcd3b5353240128adbef790e3a8769678ae2 100644 (file)
@@ -7,7 +7,7 @@
   All assertions for I/O operations are handled in MMIO functions in the IoLib\r
   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
@@ -48,8 +48,7 @@
   @return The base address of PCI Express.\r
 \r
 **/\r
-STATIC\r
-volatile VOID*\r
+VOID*\r
 GetPciExpressBaseAddress (\r
   VOID\r
   )\r
index 13c76c047f6628018d4c9e08494d1b0e9a119e47..3e13c6786456a32c043924c1bdc77a72c3189684 100644 (file)
@@ -1,7 +1,7 @@
 /** @file\r
   PCI Library using Port CF8/CFC access.\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
@@ -63,10 +63,10 @@ UINT8
 EFIAPI\r
 PciWrite8 (\r
   IN      UINTN                     Address,\r
-  IN      UINT8                     Data\r
+  IN      UINT8                     Value\r
   )\r
 {\r
-  return PciCf8Write8 (Address, Data);\r
+  return PciCf8Write8 (Address, Value);\r
 }\r
 \r
 /**\r
@@ -391,10 +391,10 @@ UINT16
 EFIAPI\r
 PciWrite16 (\r
   IN      UINTN                     Address,\r
-  IN      UINT16                    Data\r
+  IN      UINT16                    Value\r
   )\r
 {\r
-  return PciCf8Write16 (Address, Data);\r
+  return PciCf8Write16 (Address, Value);\r
 }\r
 \r
 /**\r
@@ -719,10 +719,10 @@ UINT32
 EFIAPI\r
 PciWrite32 (\r
   IN      UINTN                     Address,\r
-  IN      UINT32                    Data\r
+  IN      UINT32                    Value\r
   )\r
 {\r
-  return PciCf8Write32 (Address, Data);\r
+  return PciCf8Write32 (Address, Value);\r
 }\r
 \r
 /**\r
index 93f0af2cff1982a67102f286048c5f3a065bb653..8cfa41c12a3fd4f5dc9e9883a6cdd74a272099a6 100644 (file)
@@ -1,7 +1,7 @@
 /** @file\r
   PCI Library using PC Express access.\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
@@ -63,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
@@ -391,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
@@ -719,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