RTEMS  5.1
cfg_read.h
1 /* PCI Read Configuration Library. Read current config that bootloader/BIOS
2  * has setup.
3  *
4  * COPYRIGHT (c) 2010 Cobham Gaisler AB.
5  *
6  * The license and distribution terms for this file may be
7  * found in the file LICENSE in this distribution or at
8  * http://www.rtems.org/license/LICENSE.
9  */
10 
11 
12 #ifndef __PCI_CFG_READ_H__
13 #define __PCI_CFG_READ_H__
14 
15 /* Build PCI device tree in "struct pci_bus pci_hb" according to current setup
16  * in hardware. Devices/buses are created by reading the resource assignments
17  * that the BIOS/bootloader has already setup for us.
18  */
19 extern int pci_config_read(void);
20 
21 #endif