x86: factor out cpu_get/put_fpreg()
[armpft.git] / hw / fdc.h
blob1b81ec1dbbc612439956a46a2ba9c27e1705fc76
1 /* fdc.c */
2 #define MAX_FD 2
4 typedef struct fdctrl_t fdctrl_t;
6 fdctrl_t *fdctrl_init_isa(BlockDriverState **fds);
7 fdctrl_t *fdctrl_init_sysbus(qemu_irq irq, int dma_chann,
8 target_phys_addr_t mmio_base,
9 BlockDriverState **fds);
10 fdctrl_t *sun4m_fdctrl_init (qemu_irq irq, target_phys_addr_t io_base,
11 BlockDriverState **fds, qemu_irq *fdc_tc);
12 int fdctrl_get_drive_type(fdctrl_t *fdctrl, int drive_num);