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