diff options
author | Isaku Yamahata <yamahata@valinux.co.jp> | 2010-07-13 13:01:39 +0900 |
---|---|---|
committer | Michael S. Tsirkin <mst@redhat.com> | 2010-07-22 12:21:30 +0300 |
commit | 783753fd53fe513d37fbbfe6694c0c1ab9701fd1 (patch) | |
tree | 2f99bce7b3271affb0928cb4d85ccb01f6925fda /hw/pci.h | |
parent | cfb0a50a06825a0bee349cae3fa94f96242e83a5 (diff) | |
download | qemu-783753fd53fe513d37fbbfe6694c0c1ab9701fd1.zip qemu-783753fd53fe513d37fbbfe6694c0c1ab9701fd1.tar.gz qemu-783753fd53fe513d37fbbfe6694c0c1ab9701fd1.tar.bz2 |
pci/bridge: split out pci bridge code into pci_bridge.c from pci.c
Move pci bridge related code into pci_bridge.c from pci.c
for further enhancement. pci.c is big enough now, so split it out.
No code change but exporting some accesser functions.
In fact, few pci bridge functions stays in pci.c.
Signed-off-by: Isaku Yamahata <yamahata@valinux.co.jp>
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
Diffstat (limited to 'hw/pci.h')
-rw-r--r-- | hw/pci.h | 5 |
1 files changed, 1 insertions, 4 deletions
@@ -233,10 +233,7 @@ int pci_read_devaddr(Monitor *mon, const char *addr, int *domp, int *busp, void do_pci_info_print(Monitor *mon, const QObject *data); void do_pci_info(Monitor *mon, QObject **ret_data); -PCIBus *pci_bridge_init(PCIBus *bus, int devfn, bool multifunction, - uint16_t vid, uint16_t did, - pci_map_irq_fn map_irq, const char *name); -PCIDevice *pci_bridge_get_device(PCIBus *bus); +void pci_bridge_update_mappings(PCIBus *b); static inline void pci_set_byte(uint8_t *config, uint8_t val) |