Statistics
| Branch: | Revision:

root / hw / fdc.h @ 5c02c033

History | View | Annotate | Download (442 Bytes)

1 87ecb68b pbrook
/* fdc.c */
2 fd8014e1 Gerd Hoffmann
#include "sysemu.h"
3 87ecb68b pbrook
#define MAX_FD 2
4 87ecb68b pbrook
5 5c02c033 Blue Swirl
typedef struct FDCtrl FDCtrl;
6 87ecb68b pbrook
7 5c02c033 Blue Swirl
FDCtrl *fdctrl_init_isa(DriveInfo **fds);
8 5c02c033 Blue Swirl
FDCtrl *fdctrl_init_sysbus(qemu_irq irq, int dma_chann,
9 5c02c033 Blue Swirl
                           target_phys_addr_t mmio_base, DriveInfo **fds);
10 5c02c033 Blue Swirl
FDCtrl *sun4m_fdctrl_init(qemu_irq irq, target_phys_addr_t io_base,
11 5c02c033 Blue Swirl
                          DriveInfo **fds, qemu_irq *fdc_tc);
12 5c02c033 Blue Swirl
int fdctrl_get_drive_type(FDCtrl *fdctrl, int drive_num);