Revision 5bbdbb46 block.h

b/block.h
166 166
void bdrv_set_translation_hint(BlockDriverState *bs, int translation);
167 167
void bdrv_get_geometry_hint(BlockDriverState *bs,
168 168
                            int *pcyls, int *pheads, int *psecs);
169
typedef enum FDriveType {
170
    FDRIVE_DRV_144  = 0x00,   /* 1.44 MB 3"5 drive      */
171
    FDRIVE_DRV_288  = 0x01,   /* 2.88 MB 3"5 drive      */
172
    FDRIVE_DRV_120  = 0x02,   /* 1.2  MB 5"25 drive     */
173
    FDRIVE_DRV_NONE = 0x03,   /* No drive connected     */
174
} FDriveType;
175

  
176
void bdrv_get_floppy_geometry_hint(BlockDriverState *bs, int *nb_heads,
177
                                   int *max_track, int *last_sect,
178
                                   FDriveType drive_in, FDriveType *drive);
169 179
int bdrv_get_type_hint(BlockDriverState *bs);
170 180
int bdrv_get_translation_hint(BlockDriverState *bs);
171 181
void bdrv_set_on_error(BlockDriverState *bs, BlockErrorAction on_read_error,

Also available in: Unified diff