Home | History | Annotate | Download | only in hw
      1 /* fdc.c */
      2 #define MAX_FD 2
      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,
     10                              BlockDriverState **fds, qemu_irq *fdc_tc);
     11 int fdctrl_get_drive_type(fdctrl_t *fdctrl, int drive_num);
     12