pbrook | 87ecb68 | 2007-11-17 17:14:51 +0000 | [diff] [blame] | 1 | /* fdc.c */ |
| 2 | #define MAX_FD 2 |
pbrook | 87ecb68 | 2007-11-17 17:14:51 +0000 | [diff] [blame] | 3 | |
| 4 | typedef struct fdctrl_t fdctrl_t; |
| 5 | |
| 6 | fdctrl_t *fdctrl_init (qemu_irq irq, int dma_chann, int mem_mapped, |
| 7 | target_phys_addr_t io_base, |
| 8 | BlockDriverState **fds); |
| 9 | fdctrl_t *sun4m_fdctrl_init (qemu_irq irq, target_phys_addr_t io_base, |
blueswir1 | 2be17eb | 2008-03-21 18:05:23 +0000 | [diff] [blame] | 10 | BlockDriverState **fds, qemu_irq *fdc_tc); |
pbrook | 87ecb68 | 2007-11-17 17:14:51 +0000 | [diff] [blame] | 11 | int fdctrl_get_drive_type(fdctrl_t *fdctrl, int drive_num); |