aboutsummaryrefslogtreecommitdiff
path: root/hw/fdc.h
blob: 38e8278a67170063dfbb1bd91c255ad2ffd8ef19 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
/* fdc.c */
#define MAX_FD 2

typedef struct fdctrl a_fdctrl;

a_fdctrl *fdctrl_init_isa(BlockDriverState **fds);
a_fdctrl *fdctrl_init_sysbus(qemu_irq irq, int dma_chann,
                             a_target_phys_addr mmio_base,
                             BlockDriverState **fds);
a_fdctrl *sun4m_fdctrl_init (qemu_irq irq, a_target_phys_addr io_base,
                             BlockDriverState **fds, qemu_irq *fdc_tc);
int fdctrl_get_drive_type(a_fdctrl *fdctrl, int drive_num);