summaryrefslogtreecommitdiff
path: root/hw/apb_pci.h
diff options
context:
space:
mode:
authorMichael S. Tsirkin <mst@redhat.com>2009-11-11 14:59:56 +0200
committerMichael S. Tsirkin <mst@redhat.com>2009-12-01 17:51:04 +0200
commit18e08a55292a57b988df7fa14af2b4dd282a6486 (patch)
tree20c52dd76d8cc3c96c1f9d28b8d22d922bd9b166 /hw/apb_pci.h
parent3098b9fde97a224e803048c83bebeea176966358 (diff)
pci: pci.h cleanup: move out stuff not in pci.c
pci.h declares some functions which aren't defined in pci.h. Clean up moving things to appropriate headers, and update all users. Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
Diffstat (limited to 'hw/apb_pci.h')
-rw-r--r--hw/apb_pci.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/hw/apb_pci.h b/hw/apb_pci.h
new file mode 100644
index 0000000000..8869f9d326
--- /dev/null
+++ b/hw/apb_pci.h
@@ -0,0 +1,9 @@
+#ifndef APB_PCI_H
+#define APB_PCI_H
+
+#include "qemu-common.h"
+
+PCIBus *pci_apb_init(target_phys_addr_t special_base,
+ target_phys_addr_t mem_base,
+ qemu_irq *pic, PCIBus **bus2, PCIBus **bus3);
+#endif