summaryrefslogtreecommitdiff
path: root/MdePkg/Library/PeiPciSegmentLibPciCfg2/PciSegmentLib.c
diff options
context:
space:
mode:
Diffstat (limited to 'MdePkg/Library/PeiPciSegmentLibPciCfg2/PciSegmentLib.c')
-rw-r--r--MdePkg/Library/PeiPciSegmentLibPciCfg2/PciSegmentLib.c12
1 files changed, 12 insertions, 0 deletions
diff --git a/MdePkg/Library/PeiPciSegmentLibPciCfg2/PciSegmentLib.c b/MdePkg/Library/PeiPciSegmentLibPciCfg2/PciSegmentLib.c
index 80cddbe..3527c7d 100644
--- a/MdePkg/Library/PeiPciSegmentLibPciCfg2/PciSegmentLib.c
+++ b/MdePkg/Library/PeiPciSegmentLibPciCfg2/PciSegmentLib.c
@@ -21,6 +21,18 @@
A valid PCI Segment address should not contain 1's in bits 28..31 and 48..63
@param A The address to validate.
+ Layout of this address parameter is as follows:
+
+ PCI Register: Bits 0..11
+ PCI Function Bits 12..14
+ PCI Device Bits 15..19
+ PCI Bus Bits 20..27
+ Reserved Bits 28..31. Must be 0.
+ PCI Segment Bits 32..47
+ Reserved Bits 48..63. Must be 0.
+
+ | Reserved (MBZ) | Segment | Reserved (MBZ) | Bus | Device | Function | Register |
+ 63 48 47 32 31 28 27 20 19 15 14 12 11 0
@param M Additional bits to assert to be zero.
**/