mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-08 18:23:57 -06:00
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>
This commit is contained in:
parent
b884220990
commit
3d2bf4a109
6 changed files with 130 additions and 97 deletions
5
hw/ide.h
5
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 */
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue