root / hw / ide.h @ da726e5e
History | View | Annotate | Download (1.2 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 | 9d7f1b9a | Avi Kivity | #include "memory.h" |
7 | ec82026c | Gerd Hoffmann | |
8 | 27d6bf40 | Markus Armbruster | #define MAX_IDE_DEVS 2 |
9 | 27d6bf40 | Markus Armbruster | |
10 | ec82026c | Gerd Hoffmann | /* ide-isa.c */
|
11 | 57c88866 | Markus Armbruster | ISADevice *isa_ide_init(int iobase, int iobase2, int isairq, |
12 | 57c88866 | Markus Armbruster | DriveInfo *hd0, DriveInfo *hd1); |
13 | ec82026c | Gerd Hoffmann | |
14 | 977e1244 | Gerd Hoffmann | /* ide-pci.c */
|
15 | f455e98c | Gerd Hoffmann | void pci_cmd646_ide_init(PCIBus *bus, DriveInfo **hd_table,
|
16 | 977e1244 | Gerd Hoffmann | int secondary_ide_enabled);
|
17 | 679f4f8b | Stefano Stabellini | PCIDevice *pci_piix3_xen_ide_init(PCIBus *bus, DriveInfo **hd_table, int devfn);
|
18 | 57c88866 | Markus Armbruster | PCIDevice *pci_piix3_ide_init(PCIBus *bus, DriveInfo **hd_table, int devfn);
|
19 | 57c88866 | Markus Armbruster | PCIDevice *pci_piix4_ide_init(PCIBus *bus, DriveInfo **hd_table, int devfn);
|
20 | 016512f3 | Huacai Chen | void vt82c686b_ide_init(PCIBus *bus, DriveInfo **hd_table, int devfn); |
21 | 977e1244 | Gerd Hoffmann | |
22 | b8842209 | Gerd Hoffmann | /* ide-macio.c */
|
23 | 23c5e4ca | Avi Kivity | MemoryRegion *pmac_ide_init (DriveInfo **hd_table, qemu_irq irq, |
24 | b8842209 | Gerd Hoffmann | void *dbdma, int channel, qemu_irq dma_irq); |
25 | b8842209 | Gerd Hoffmann | |
26 | 3d2bf4a1 | Gerd Hoffmann | /* ide-mmio.c */
|
27 | c227f099 | Anthony Liguori | void mmio_ide_init (target_phys_addr_t membase, target_phys_addr_t membase2,
|
28 | 9d7f1b9a | Avi Kivity | MemoryRegion *address_space, |
29 | 3d2bf4a1 | Gerd Hoffmann | qemu_irq irq, int shift,
|
30 | f455e98c | Gerd Hoffmann | DriveInfo *hd0, DriveInfo *hd1); |
31 | 3d2bf4a1 | Gerd Hoffmann | |
32 | c0897e0c | Markus Armbruster | void ide_get_bs(BlockDriverState *bs[], BusState *qbus);
|
33 | c0897e0c | Markus Armbruster | |
34 | 75717903 | Isaku Yamahata | /* ide/core.c */
|
35 | 75717903 | Isaku Yamahata | void ide_drive_get(DriveInfo **hd, int max_bus); |
36 | 75717903 | Isaku Yamahata | |
37 | ec82026c | Gerd Hoffmann | #endif /* HW_IDE_H */ |