Add qemu 2.4.0
[kvmfornfv.git] / qemu / roms / openbios / include / arch / unix / plugin_pci.h
1 /* tag: openbios pci plugin headers
2  *
3  * Copyright (C) 2003 Stefan Reinauer
4  *
5  * See the file "COPYING" for further information about
6  * the copyright and warranty status of this work.
7  */
8
9 #ifndef __PLUGINS_PCI_H
10 #define __PLUGINS_PCI_H
11
12 typedef struct pci_dev pci_dev_t;
13
14 struct pci_dev {
15         unsigned bus;
16         unsigned dev;
17         unsigned fn;
18
19         u8 *config;
20         pci_dev_t *next;
21 };
22
23 int pci_register_device(unsigned bus, unsigned dev, unsigned fn, u8 *config);
24
25 #endif