aboutsummaryrefslogtreecommitdiff
path: root/vl.h
diff options
context:
space:
mode:
authorbellard <bellard@c046a42c-6fe2-441c-8c8c-71466251a162>2004-03-19 23:05:34 +0000
committerbellard <bellard@c046a42c-6fe2-441c-8c8c-71466251a162>2004-03-19 23:05:34 +0000
commitbaca51faff03df59386c95d9478ede18b5be5ec8 (patch)
tree91c42f212c87d947d4bacf595c26907a1de41d4f /vl.h
parentbc51c5c989c12b3936b78c5772a3308629a7484c (diff)
updated floppy driver: formatting code, disk geometry auto detect (Jocelyn Mayer)
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@671 c046a42c-6fe2-441c-8c8c-71466251a162
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 */