microblaze: Dont segfault when singlestepping first insn.
[qemu/agraf.git] / hw / fdc.h
blobd1739023182619ac43399bf3271306a7be1d6196
1 /* fdc.c */
2 #include "sysemu.h"
3 #define MAX_FD 2
5 typedef struct FDCtrl FDCtrl;
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);