/[qemu]/qemu/vl.h
ViewVC logotype

Diff of /qemu/vl.h

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.60 by bellard, Tue Nov 9 23:08:30 2004 UTC revision 1.61 by bellard, Tue Nov 16 01:45:27 2004 UTC
# Line 383  void bdrv_set_boot_sector(BlockDriverSta Line 383  void bdrv_set_boot_sector(BlockDriverSta
383  #define BDRV_TYPE_HD     0  #define BDRV_TYPE_HD     0
384  #define BDRV_TYPE_CDROM  1  #define BDRV_TYPE_CDROM  1
385  #define BDRV_TYPE_FLOPPY 2  #define BDRV_TYPE_FLOPPY 2
386    #define BIOS_ATA_TRANSLATION_AUTO 0
387    #define BIOS_ATA_TRANSLATION_NONE 1
388    #define BIOS_ATA_TRANSLATION_LBA  2
389    
390  void bdrv_set_geometry_hint(BlockDriverState *bs,  void bdrv_set_geometry_hint(BlockDriverState *bs,
391                              int cyls, int heads, int secs);                              int cyls, int heads, int secs);
392  void bdrv_set_type_hint(BlockDriverState *bs, int type);  void bdrv_set_type_hint(BlockDriverState *bs, int type);
393    void bdrv_set_translation_hint(BlockDriverState *bs, int translation);
394  void bdrv_get_geometry_hint(BlockDriverState *bs,  void bdrv_get_geometry_hint(BlockDriverState *bs,
395                              int *pcyls, int *pheads, int *psecs);                              int *pcyls, int *pheads, int *psecs);
396  int bdrv_get_type_hint(BlockDriverState *bs);  int bdrv_get_type_hint(BlockDriverState *bs);
397    int bdrv_get_translation_hint(BlockDriverState *bs);
398  int bdrv_is_removable(BlockDriverState *bs);  int bdrv_is_removable(BlockDriverState *bs);
399  int bdrv_is_read_only(BlockDriverState *bs);  int bdrv_is_read_only(BlockDriverState *bs);
400  int bdrv_is_inserted(BlockDriverState *bs);  int bdrv_is_inserted(BlockDriverState *bs);

Legend:
Removed from v.1.60  
changed lines
  Added in v.1.61

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26