2010-05-14 15:29:15 +08:00
|
|
|
#ifndef HW_FDC_H
|
|
|
|
#define HW_FDC_H
|
|
|
|
|
2012-05-11 23:22:19 +08:00
|
|
|
#include "qemu-common.h"
|
2011-02-13 05:23:12 +08:00
|
|
|
|
2007-11-18 01:14:51 +08:00
|
|
|
/* fdc.c */
|
|
|
|
#define MAX_FD 2
|
|
|
|
|
2012-05-11 23:22:19 +08:00
|
|
|
ISADevice *fdctrl_init_isa(ISABus *bus, DriveInfo **fds);
|
2011-02-06 00:32:23 +08:00
|
|
|
void fdctrl_init_sysbus(qemu_irq irq, int dma_chann,
|
|
|
|
target_phys_addr_t mmio_base, DriveInfo **fds);
|
|
|
|
void sun4m_fdctrl_init(qemu_irq irq, target_phys_addr_t io_base,
|
|
|
|
DriveInfo **fds, qemu_irq *fdc_tc);
|
2011-10-20 22:37:26 +08:00
|
|
|
void fdc_get_bs(BlockDriverState *bs[], ISADevice *dev);
|
|
|
|
|
2010-05-14 15:29:15 +08:00
|
|
|
#endif
|