diff options
author | bellard <bellard@c046a42c-6fe2-441c-8c8c-71466251a162> | 2004-03-19 23:05:34 +0000 |
---|---|---|
committer | bellard <bellard@c046a42c-6fe2-441c-8c8c-71466251a162> | 2004-03-19 23:05:34 +0000 |
commit | baca51faff03df59386c95d9478ede18b5be5ec8 (patch) | |
tree | 91c42f212c87d947d4bacf595c26907a1de41d4f /vl.h | |
parent | bc51c5c989c12b3936b78c5772a3308629a7484c (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.h | 9 |
1 files changed, 6 insertions, 3 deletions
@@ -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 */ |