PCI Configuration Space



         


One of the major improvements PCI had over other I/O architectures was its configuration mechanism. In addition to the normal memory-mapped and port spaces, it has configuration space. This is 256 bytes that is addressable by knowing the PCI bus, device and function numbers for the device. The first 64 bytes of configuration space are standardised; the remainder are avilable for vendor-defined purposes.

In order to address a device through port space or memory space, the BIOS or OS will program the Base Address Registers (commonly called BARs). Each non-bridge device has up to 6 BARs, each of which will respond to certain areas of port or memory space.

XXX: mention

* capabilities * Extended config space * devid/vendorid/subsystem ids * cache line register * ...




  View Live Article   This article is from Wikipedia. All text is available under the terms of the GNU Free Documentation License