Fix termination by signal with -no-shutdown
[qemu/ar7.git] / hw / ide.h
blob9059aae28933bb8d5563e0fc7391a58d7901620b
1 #ifndef HW_IDE_H
2 #define HW_IDE_H
4 #include "isa.h"
5 #include "pci.h"
7 #define MAX_IDE_DEVS 2
9 /* ide-isa.c */
10 ISADevice *isa_ide_init(int iobase, int iobase2, int isairq,
11 DriveInfo *hd0, DriveInfo *hd1);
13 /* ide-pci.c */
14 void pci_cmd646_ide_init(PCIBus *bus, DriveInfo **hd_table,
15 int secondary_ide_enabled);
16 PCIDevice *pci_piix3_xen_ide_init(PCIBus *bus, DriveInfo **hd_table, int devfn);
17 PCIDevice *pci_piix3_ide_init(PCIBus *bus, DriveInfo **hd_table, int devfn);
18 PCIDevice *pci_piix4_ide_init(PCIBus *bus, DriveInfo **hd_table, int devfn);
19 void vt82c686b_ide_init(PCIBus *bus, DriveInfo **hd_table, int devfn);
21 /* ide-macio.c */
22 MemoryRegion *pmac_ide_init (DriveInfo **hd_table, qemu_irq irq,
23 void *dbdma, int channel, qemu_irq dma_irq);
25 /* ide-mmio.c */
26 void mmio_ide_init (target_phys_addr_t membase, target_phys_addr_t membase2,
27 qemu_irq irq, int shift,
28 DriveInfo *hd0, DriveInfo *hd1);
30 void ide_get_bs(BlockDriverState *bs[], BusState *qbus);
32 /* ide/core.c */
33 void ide_drive_get(DriveInfo **hd, int max_bus);
35 #endif /* HW_IDE_H */