Revision 5c02c033 hw/fdc.h

b/hw/fdc.h
2 2
#include "sysemu.h"
3 3
#define MAX_FD 2
4 4

  
5
typedef struct fdctrl_t fdctrl_t;
5
typedef struct FDCtrl FDCtrl;
6 6

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

Also available in: Unified diff