root / hw / ide.h @ f19410ca
History | View | Annotate | Download (981 Bytes)
1 | ec82026c | Gerd Hoffmann | #ifndef HW_IDE_H
|
---|---|---|---|
2 | ec82026c | Gerd Hoffmann | #define HW_IDE_H
|
3 | ec82026c | Gerd Hoffmann | |
4 | 57c88866 | Markus Armbruster | #include "isa.h" |
5 | 57c88866 | Markus Armbruster | #include "pci.h" |
6 | ec82026c | Gerd Hoffmann | |
7 | 27d6bf40 | Markus Armbruster | #define MAX_IDE_DEVS 2 |
8 | 27d6bf40 | Markus Armbruster | |
9 | ec82026c | Gerd Hoffmann | /* ide-isa.c */
|
10 | 57c88866 | Markus Armbruster | ISADevice *isa_ide_init(int iobase, int iobase2, int isairq, |
11 | 57c88866 | Markus Armbruster | DriveInfo *hd0, DriveInfo *hd1); |
12 | ec82026c | Gerd Hoffmann | |
13 | 977e1244 | Gerd Hoffmann | /* ide-pci.c */
|
14 | f455e98c | Gerd Hoffmann | void pci_cmd646_ide_init(PCIBus *bus, DriveInfo **hd_table,
|
15 | 977e1244 | Gerd Hoffmann | int secondary_ide_enabled);
|
16 | 57c88866 | Markus Armbruster | PCIDevice *pci_piix3_ide_init(PCIBus *bus, DriveInfo **hd_table, int devfn);
|
17 | 57c88866 | Markus Armbruster | PCIDevice *pci_piix4_ide_init(PCIBus *bus, DriveInfo **hd_table, int devfn);
|
18 | 016512f3 | Huacai Chen | void vt82c686b_ide_init(PCIBus *bus, DriveInfo **hd_table, int devfn); |
19 | 977e1244 | Gerd Hoffmann | |
20 | b8842209 | Gerd Hoffmann | /* ide-macio.c */
|
21 | f455e98c | Gerd Hoffmann | int pmac_ide_init (DriveInfo **hd_table, qemu_irq irq,
|
22 | b8842209 | Gerd Hoffmann | void *dbdma, int channel, qemu_irq dma_irq); |
23 | b8842209 | Gerd Hoffmann | |
24 | 3d2bf4a1 | Gerd Hoffmann | /* ide-mmio.c */
|
25 | c227f099 | Anthony Liguori | void mmio_ide_init (target_phys_addr_t membase, target_phys_addr_t membase2,
|
26 | 3d2bf4a1 | Gerd Hoffmann | qemu_irq irq, int shift,
|
27 | f455e98c | Gerd Hoffmann | DriveInfo *hd0, DriveInfo *hd1); |
28 | 3d2bf4a1 | Gerd Hoffmann | |
29 | c0897e0c | Markus Armbruster | void ide_get_bs(BlockDriverState *bs[], BusState *qbus);
|
30 | c0897e0c | Markus Armbruster | |
31 | ec82026c | Gerd Hoffmann | #endif /* HW_IDE_H */ |