/** @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
#include <Base.h>\r
\r
-\r
#include <Library/PciLib.h>\r
#include <Library/PciExpressLib.h>\r
\r
\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
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
\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
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
\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
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