target/arm: Use tcg_constant_i32() in op_smlad()
[qemu/rayw.git] / include / hw / block / fdc.h
blob1ecca7cac7f0ce7ae54b5c49d69b9e193dc6f04b
1 #ifndef HW_FDC_H
2 #define HW_FDC_H
4 #include "exec/hwaddr.h"
5 #include "qapi/qapi-types-block.h"
7 /* fdc.c */
8 #define MAX_FD 2
10 #define TYPE_ISA_FDC "isa-fdc"
12 void isa_fdc_init_drives(ISADevice *fdc, DriveInfo **fds);
13 void fdctrl_init_sysbus(qemu_irq irq, int dma_chann,
14 hwaddr mmio_base, DriveInfo **fds);
15 void sun4m_fdctrl_init(qemu_irq irq, hwaddr io_base,
16 DriveInfo **fds, qemu_irq *fdc_tc);
18 FloppyDriveType isa_fdc_get_drive_type(ISADevice *fdc, int i);
19 int cmos_get_fd_drive_type(FloppyDriveType fd0);
21 #endif