root / hw / fdc.h @ 99a0949b
History | View | Annotate | Download (488 Bytes)
1 |
/* fdc.c */
|
---|---|
2 |
#define MAX_FD 2 |
3 |
|
4 |
typedef struct fdctrl a_fdctrl; |
5 |
|
6 |
a_fdctrl *fdctrl_init_isa(BlockDriverState **fds); |
7 |
a_fdctrl *fdctrl_init_sysbus(qemu_irq irq, int dma_chann,
|
8 |
a_target_phys_addr mmio_base, |
9 |
BlockDriverState **fds); |
10 |
a_fdctrl *sun4m_fdctrl_init (qemu_irq irq, a_target_phys_addr io_base, |
11 |
BlockDriverState **fds, qemu_irq *fdc_tc); |
12 |
int fdctrl_get_drive_type(a_fdctrl *fdctrl, int drive_num); |