summaryrefslogtreecommitdiff
path: root/MdePkg/Library/DxeRuntimePciExpressLib/PciExpressLib.c
diff options
context:
space:
mode:
Diffstat (limited to 'MdePkg/Library/DxeRuntimePciExpressLib/PciExpressLib.c')
-rw-r--r--MdePkg/Library/DxeRuntimePciExpressLib/PciExpressLib.c10
1 files changed, 7 insertions, 3 deletions
diff --git a/MdePkg/Library/DxeRuntimePciExpressLib/PciExpressLib.c b/MdePkg/Library/DxeRuntimePciExpressLib/PciExpressLib.c
index 4725bf9e0d..9f414d8e39 100644
--- a/MdePkg/Library/DxeRuntimePciExpressLib/PciExpressLib.c
+++ b/MdePkg/Library/DxeRuntimePciExpressLib/PciExpressLib.c
@@ -249,9 +249,13 @@ GetPciExpressAddress (
}
/**
- 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
@@ -1453,7 +1457,7 @@ PciExpressBitFieldAndThenOr32 (
@param Size Size in bytes of the transfer.
@param Buffer Pointer to a buffer receiving the data read.
- @return Size
+ @return Size read data from StartAddress.
**/
UINTN
@@ -1552,7 +1556,7 @@ PciExpressReadBuffer (
@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