Statistics
| Branch: | Revision:

root / hw / fdc.h @ 86c86157

History | View | Annotate | Download (490 Bytes)

1
/* fdc.c */
2
#define MAX_FD 2
3

    
4
typedef struct fdctrl_t fdctrl_t;
5

    
6
fdctrl_t *fdctrl_init_isa(BlockDriverState **fds);
7
fdctrl_t *fdctrl_init_sysbus(qemu_irq irq, int dma_chann,
8
                             target_phys_addr_t mmio_base,
9
                             BlockDriverState **fds);
10
fdctrl_t *sun4m_fdctrl_init (qemu_irq irq, target_phys_addr_t io_base,
11
                             BlockDriverState **fds, qemu_irq *fdc_tc);
12
int fdctrl_get_drive_type(fdctrl_t *fdctrl, int drive_num);