- Functions accessing PCI configuration registers on any supported PCI segment\r
-\r
- Copyright (c) 2006, Intel Corporation\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
- http://opensource.org/licenses/bsd-license.php\r
-\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: PciSegmentLib.h\r
+ Provides services to access PCI Configuration Space on a platform with multiple PCI segments.\r
+ \r
+ The PCI Segment Library function provide services to read, write, and modify the PCI configuration\r
+ registers on PCI root bridges on any supported PCI segment. These library services take a single \r
+ address parameter that encodes the PCI Segment, PCI Bus, PCI Device, PCI Function, and PCI Register. \r
+ The layout of this address parameter is as follows:\r
+ \r
+ PCI Register: Bits 0..11\r
+ PCI Function Bits 12..14\r
+ PCI Device Bits 15..19\r
+ PCI Bus Bits 20..27\r
+ Reserved Bits 28..31. Must be 0.\r
+ PCI Segment Bits 32..47\r
+ Reserved Bits 48..63. Must be 0.\r
+ \r
+ | Reserved (MBZ) | Segment | Reserved (MBZ) | Bus | Device | Function | Register |\r
+ 63 48 47 32 31 28 27 20 19 15 14 12 11 0\r
+\r
+ These functions perform PCI configuration cycles using the default PCI configuration access \r
+ method. This may use I/O ports 0xCF8 and 0xCFC to perform PCI configuration accesses, or it \r
+ may use MMIO registers relative to the PcdPciExpressBaseAddress, or it may use some alternate \r
+ access method. Modules will typically use the PCI Segment Library for its PCI configuration \r
+ accesses when PCI Segments other than Segment #0 must be accessed. \r
+\r
+Copyright (c) 2006 - 2009, Intel Corporation\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
+http://opensource.org/licenses/bsd-license.php\r
+\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