summaryrefslogtreecommitdiffstats
path: root/MdePkg/Library/UefiPciLibPciRootBridgeIo
diff options
context:
space:
mode:
authorklu2 <klu2@6f19259b-4bc3-4df7-8a09-765794883524>2008-12-10 03:28:54 +0000
committerklu2 <klu2@6f19259b-4bc3-4df7-8a09-765794883524>2008-12-10 03:28:54 +0000
commit070a76b19386875d96f945262e832183d61f43da (patch)
tree4c43ffd3b003a92bd9da5606ad3e2b63033af2ec /MdePkg/Library/UefiPciLibPciRootBridgeIo
parent530e25f536376c86c296aaee465461ddb04fc321 (diff)
downloadedk2-070a76b19386875d96f945262e832183d61f43da.tar.gz
edk2-070a76b19386875d96f945262e832183d61f43da.tar.bz2
edk2-070a76b19386875d96f945262e832183d61f43da.zip
Synchronize interface function comment from declaration in library class header file to implementation in library instance.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6957 6f19259b-4bc3-4df7-8a09-765794883524
Diffstat (limited to 'MdePkg/Library/UefiPciLibPciRootBridgeIo')
-rw-r--r--MdePkg/Library/UefiPciLibPciRootBridgeIo/PciLib.c31
1 files changed, 17 insertions, 14 deletions
diff --git a/MdePkg/Library/UefiPciLibPciRootBridgeIo/PciLib.c b/MdePkg/Library/UefiPciLibPciRootBridgeIo/PciLib.c
index 5a43f66f86..ff95ec7862 100644
--- a/MdePkg/Library/UefiPciLibPciRootBridgeIo/PciLib.c
+++ b/MdePkg/Library/UefiPciLibPciRootBridgeIo/PciLib.c
@@ -143,9 +143,12 @@ DxePciLibPciRootBridgeIoWriteWorker (
}
/**
- Register a PCI device so PCI configuration registers may be accessed after
+ Registers a PCI device so PCI configuration registers may be accessed after
SetVirtualAddressMap().
+ Registers the PCI device specified by Address so all the PCI configuration registers
+ associated with that PCI device may be accessed after SetVirtualAddressMap() is called.
+
If Address > 0x0FFFFFFF, then ASSERT().
@param Address Address that encodes the PCI Bus, Device, Function and
@@ -181,7 +184,7 @@ PciRegisterForRuntimeAccess (
@param Address Address that encodes the PCI Bus, Device, Function and
Register.
- @return The value read from the PCI configuration register.
+ @return The read value from the PCI configuration register.
**/
UINT8
@@ -206,7 +209,7 @@ PciRead8 (
@param Address Address that encodes the PCI Bus, Device, Function and
Register.
- @param Data The value to write.
+ @param Value The value to write.
@return The value written to the PCI configuration register.
@@ -215,12 +218,12 @@ UINT8
EFIAPI
PciWrite8 (
IN UINTN Address,
- IN UINT8 Data
+ IN UINT8 Value
)
{
ASSERT_INVALID_PCI_ADDRESS (Address, 0);
- return (UINT8) DxePciLibPciRootBridgeIoWriteWorker (Address, EfiPciWidthUint8, Data);
+ return (UINT8) DxePciLibPciRootBridgeIoWriteWorker (Address, EfiPciWidthUint8, Value);
}
/**
@@ -526,7 +529,7 @@ PciBitFieldAndThenOr8 (
@param Address Address that encodes the PCI Bus, Device, Function and
Register.
- @return The value read from the PCI configuration register.
+ @return The read value from the PCI configuration register.
**/
UINT16
@@ -552,7 +555,7 @@ PciRead16 (
@param Address Address that encodes the PCI Bus, Device, Function and
Register.
- @param Data The value to write.
+ @param Value The value to write.
@return The value written to the PCI configuration register.
@@ -561,12 +564,12 @@ UINT16
EFIAPI
PciWrite16 (
IN UINTN Address,
- IN UINT16 Data
+ IN UINT16 Value
)
{
ASSERT_INVALID_PCI_ADDRESS (Address, 1);
- return (UINT16) DxePciLibPciRootBridgeIoWriteWorker (Address, EfiPciWidthUint16, Data);
+ return (UINT16) DxePciLibPciRootBridgeIoWriteWorker (Address, EfiPciWidthUint16, Value);
}
/**
@@ -880,7 +883,7 @@ PciBitFieldAndThenOr16 (
@param Address Address that encodes the PCI Bus, Device, Function and
Register.
- @return The value read from the PCI configuration register.
+ @return The read value from the PCI configuration register.
**/
UINT32
@@ -906,7 +909,7 @@ PciRead32 (
@param Address Address that encodes the PCI Bus, Device, Function and
Register.
- @param Data The value to write.
+ @param Value The value to write.
@return The value written to the PCI configuration register.
@@ -915,12 +918,12 @@ UINT32
EFIAPI
PciWrite32 (
IN UINTN Address,
- IN UINT32 Data
+ IN UINT32 Value
)
{
ASSERT_INVALID_PCI_ADDRESS (Address, 3);
- return DxePciLibPciRootBridgeIoWriteWorker (Address, EfiPciWidthUint32, Data);
+ return DxePciLibPciRootBridgeIoWriteWorker (Address, EfiPciWidthUint32, Value);
}
/**
@@ -1339,7 +1342,7 @@ PciReadBuffer (
@param Size Size in bytes of the transfer.
@param Buffer Pointer to a buffer containing the data to write.
- @return Size
+ @return Size written to StartAddress.
**/
UINTN