summaryrefslogtreecommitdiff
path: root/hw/ide.h
diff options
context:
space:
mode:
authorGerd Hoffmann <kraxel@redhat.com>2009-08-20 15:22:22 +0200
committerAnthony Liguori <aliguori@us.ibm.com>2009-08-27 20:43:33 -0500
commit3d2bf4a1093a8598a5ac6038a2510ef864a68118 (patch)
treede18c26a89c4470d1e9e111a425604bbdb1f4b2b /hw/ide.h
parentb884220990ef19d55fc07cebea910d1745b203d3 (diff)
downloadqemu-3d2bf4a1093a8598a5ac6038a2510ef864a68118.tar.gz
ide: split away ide-mmio.c
create ide-mmio.c and place mmio support there. only build ide-mmio support for platforms using it. Signed-off-by: Gerd Hoffmann <kraxel@redhat.com> Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
Diffstat (limited to 'hw/ide.h')
-rw-r--r--hw/ide.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/hw/ide.h b/hw/ide.h
index 02aa68631e..56cf4ec5e9 100644
--- a/hw/ide.h
+++ b/hw/ide.h
@@ -19,4 +19,9 @@ void pci_piix4_ide_init(PCIBus *bus, BlockDriverState **hd_table, int devfn,
int pmac_ide_init (BlockDriverState **hd_table, qemu_irq irq,
void *dbdma, int channel, qemu_irq dma_irq);
+/* ide-mmio.c */
+void mmio_ide_init (target_phys_addr_t membase, target_phys_addr_t membase2,
+ qemu_irq irq, int shift,
+ BlockDriverState *hd0, BlockDriverState *hd1);
+
#endif /* HW_IDE_H */