ide.h 790 字节
Newer Older
G
Gerd Hoffmann 已提交
1 2 3 4 5 6 7
#ifndef HW_IDE_H
#define HW_IDE_H

#include "qdev.h"

/* ide-isa.c */
void isa_ide_init(int iobase, int iobase2, qemu_irq irq,
8
                  DriveInfo *hd0, DriveInfo *hd1);
G
Gerd Hoffmann 已提交
9

G
Gerd Hoffmann 已提交
10
/* ide-pci.c */
11
void pci_cmd646_ide_init(PCIBus *bus, DriveInfo **hd_table,
G
Gerd Hoffmann 已提交
12
                         int secondary_ide_enabled);
13 14
void pci_piix3_ide_init(PCIBus *bus, DriveInfo **hd_table, int devfn);
void pci_piix4_ide_init(PCIBus *bus, DriveInfo **hd_table, int devfn);
G
Gerd Hoffmann 已提交
15

G
Gerd Hoffmann 已提交
16
/* ide-macio.c */
17
int pmac_ide_init (DriveInfo **hd_table, qemu_irq irq,
G
Gerd Hoffmann 已提交
18 19
		   void *dbdma, int channel, qemu_irq dma_irq);

G
Gerd Hoffmann 已提交
20 21 22
/* ide-mmio.c */
void mmio_ide_init (target_phys_addr_t membase, target_phys_addr_t membase2,
                    qemu_irq irq, int shift,
23
                    DriveInfo *hd0, DriveInfo *hd1);
G
Gerd Hoffmann 已提交
24

G
Gerd Hoffmann 已提交
25
#endif /* HW_IDE_H */