root / hw / fdc.h @ 87ecb68b
History | View | Annotate | Download (460 Bytes)
1 |
/* fdc.c */
|
---|---|
2 |
#define MAX_FD 2 |
3 |
extern BlockDriverState *fd_table[MAX_FD];
|
4 |
|
5 |
typedef struct fdctrl_t fdctrl_t; |
6 |
|
7 |
fdctrl_t *fdctrl_init (qemu_irq irq, int dma_chann, int mem_mapped, |
8 |
target_phys_addr_t io_base, |
9 |
BlockDriverState **fds); |
10 |
fdctrl_t *sun4m_fdctrl_init (qemu_irq irq, target_phys_addr_t io_base, |
11 |
BlockDriverState **fds); |
12 |
int fdctrl_get_drive_type(fdctrl_t *fdctrl, int drive_num); |