aboutsummaryrefslogtreecommitdiff
path: root/vl.h
diff options
context:
space:
mode:
Diffstat (limited to 'vl.h')
-rw-r--r--vl.h9
1 files changed, 6 insertions, 3 deletions
diff --git a/vl.h b/vl.h
index 11d7aba411..2377602dcd 100644
--- a/vl.h
+++ b/vl.h
@@ -186,9 +186,12 @@ void SB16_init (void);
#define MAX_FD 2
extern BlockDriverState *fd_table[MAX_FD];
-void fdctrl_init (int irq_lvl, int dma_chann, int mem_mapped, uint32_t base,
- BlockDriverState **fds);
-int fdctrl_get_drive_type(int drive_num);
+typedef struct fdctrl_t fdctrl_t;
+
+fdctrl_t *fdctrl_init (int irq_lvl, int dma_chann, int mem_mapped,
+ uint32_t io_base,
+ BlockDriverState **fds);
+int fdctrl_get_drive_type(fdctrl_t *fdctrl, int drive_num);
/* ne2000.c */