diff options
author | Gerd Hoffmann <kraxel@redhat.com> | 2009-08-20 15:22:22 +0200 |
---|---|---|
committer | Anthony Liguori <aliguori@us.ibm.com> | 2009-08-27 20:43:33 -0500 |
commit | 3d2bf4a1093a8598a5ac6038a2510ef864a68118 (patch) | |
tree | de18c26a89c4470d1e9e111a425604bbdb1f4b2b /hw/ide.h | |
parent | b884220990ef19d55fc07cebea910d1745b203d3 (diff) | |
download | qemu-3d2bf4a1093a8598a5ac6038a2510ef864a68118.zip qemu-3d2bf4a1093a8598a5ac6038a2510ef864a68118.tar.gz qemu-3d2bf4a1093a8598a5ac6038a2510ef864a68118.tar.bz2 |
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.h | 5 |
1 files changed, 5 insertions, 0 deletions
@@ -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 */ |