1 #ifndef HW_FDC_H 2 #define HW_FDC_H 3 4 #include "qemu-common.h" 5 6 /* fdc.c */ 7 #define MAX_FD 2 8 9 #define TYPE_ISA_FDC "isa-fdc" 10 11 ISADevice *fdctrl_init_isa(ISABus *bus, DriveInfo **fds); 12 void fdctrl_init_sysbus(qemu_irq irq, int dma_chann, 13 hwaddr mmio_base, DriveInfo **fds); 14 void sun4m_fdctrl_init(qemu_irq irq, hwaddr io_base, 15 DriveInfo **fds, qemu_irq *fdc_tc); 16 17 FloppyDriveType isa_fdc_get_drive_type(ISADevice *fdc, int i); 18 19 #endif 20