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