/** @file\r
- PCI Library using Port CF8/CFC access.\r
+ PCI Library functions that use I/O ports 0xCF8 and 0xCFC to perform\r
+ PCI Configuration cycles. Layers on top of one PCI CF8 Library instance.\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
THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,\r
WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.\r
\r
- Module Name: PciLib.c\r
-\r
**/\r
\r
+\r
+#include <Base.h>\r
+\r
+#include <Library/PciLib.h>\r
+#include <Library/PciCf8Lib.h>\r
+\r
/**\r
Reads an 8-bit PCI configuration register.\r
\r
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
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
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