Statistics
| Branch: | Revision:

root / hw / fdc.h @ 1b4e8f73

History | View | Annotate | Download (485 Bytes)

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