root / hw / ide.h @ 8d3a8c1e
History | View | Annotate | Download (1.1 kB)
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 | 679f4f8b | Stefano Stabellini | PCIDevice *pci_piix3_xen_ide_init(PCIBus *bus, DriveInfo **hd_table, int devfn);
|
17 | 57c88866 | Markus Armbruster | PCIDevice *pci_piix3_ide_init(PCIBus *bus, DriveInfo **hd_table, int devfn);
|
18 | 57c88866 | Markus Armbruster | PCIDevice *pci_piix4_ide_init(PCIBus *bus, DriveInfo **hd_table, int devfn);
|
19 | 016512f3 | Huacai Chen | void vt82c686b_ide_init(PCIBus *bus, DriveInfo **hd_table, int devfn); |
20 | 977e1244 | Gerd Hoffmann | |
21 | b8842209 | Gerd Hoffmann | /* ide-macio.c */
|
22 | 23c5e4ca | Avi Kivity | MemoryRegion *pmac_ide_init (DriveInfo **hd_table, qemu_irq irq, |
23 | b8842209 | Gerd Hoffmann | void *dbdma, int channel, qemu_irq dma_irq); |
24 | b8842209 | Gerd Hoffmann | |
25 | 3d2bf4a1 | Gerd Hoffmann | /* ide-mmio.c */
|
26 | c227f099 | Anthony Liguori | void mmio_ide_init (target_phys_addr_t membase, target_phys_addr_t membase2,
|
27 | 3d2bf4a1 | Gerd Hoffmann | qemu_irq irq, int shift,
|
28 | f455e98c | Gerd Hoffmann | DriveInfo *hd0, DriveInfo *hd1); |
29 | 3d2bf4a1 | Gerd Hoffmann | |
30 | c0897e0c | Markus Armbruster | void ide_get_bs(BlockDriverState *bs[], BusState *qbus);
|
31 | c0897e0c | Markus Armbruster | |
32 | 75717903 | Isaku Yamahata | /* ide/core.c */
|
33 | 75717903 | Isaku Yamahata | void ide_drive_get(DriveInfo **hd, int max_bus); |
34 | 75717903 | Isaku Yamahata | |
35 | ec82026c | Gerd Hoffmann | #endif /* HW_IDE_H */ |