summaryrefslogtreecommitdiff
path: root/hw/sh_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/sh_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/sh_pci.h')
-rw-r--r--hw/sh_pci.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/hw/sh_pci.h b/hw/sh_pci.h
new file mode 100644
index 0000000000..b1a5ec37c3
--- /dev/null
+++ b/hw/sh_pci.h
@@ -0,0 +1,9 @@
+#ifndef QEMU_SH_PCI_H
+#define QEMU_SH_PCI_H
+
+#include "qemu-common.h"
+
+PCIBus *sh_pci_register_bus(pci_set_irq_fn set_irq, pci_map_irq_fn map_irq,
+ void *pic, int devfn_min, int nirq);
+
+#endif