root / hw / fdc.h @ 1062977b
History | View | Annotate | Download (489 Bytes)
1 | 87ecb68b | pbrook | /* fdc.c */
|
---|---|---|---|
2 | fd8014e1 | Gerd Hoffmann | #include "sysemu.h" |
3 | 87ecb68b | pbrook | #define MAX_FD 2 |
4 | 87ecb68b | pbrook | |
5 | c227f099 | Anthony Liguori | typedef struct fdctrl_t fdctrl_t; |
6 | 87ecb68b | pbrook | |
7 | fd8014e1 | Gerd Hoffmann | fdctrl_t *fdctrl_init_isa(DriveInfo **fds); |
8 | c227f099 | Anthony Liguori | fdctrl_t *fdctrl_init_sysbus(qemu_irq irq, int dma_chann,
|
9 | c227f099 | Anthony Liguori | target_phys_addr_t mmio_base, |
10 | fd8014e1 | Gerd Hoffmann | DriveInfo **fds); |
11 | c227f099 | Anthony Liguori | fdctrl_t *sun4m_fdctrl_init (qemu_irq irq, target_phys_addr_t io_base, |
12 | fd8014e1 | Gerd Hoffmann | DriveInfo **fds, qemu_irq *fdc_tc); |
13 | c227f099 | Anthony Liguori | int fdctrl_get_drive_type(fdctrl_t *fdctrl, int drive_num); |