aboutsummaryrefslogtreecommitdiff
path: root/vl.h
diff options
context:
space:
mode:
authorths <ths@c046a42c-6fe2-441c-8c8c-71466251a162>2007-01-05 18:58:34 +0000
committerths <ths@c046a42c-6fe2-441c-8c8c-71466251a162>2007-01-05 18:58:34 +0000
commit4dbb0f5006c7a729e20199f08a9d338b11f61fef (patch)
treed1909bc0da5b6619e3d2fdc47da586164b600a8f /vl.h
parent6850dd945ea7eb0beedb25435bf2bc16741aec38 (diff)
Fix for hard disk translation hints, by Volker Ruppert.
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@2297 c046a42c-6fe2-441c-8c8c-71466251a162
Diffstat (limited to 'vl.h')
-rw-r--r--vl.h8
1 files changed, 5 insertions, 3 deletions
diff --git a/vl.h b/vl.h
index 9d95494a0e..1c584063e2 100644
--- a/vl.h
+++ b/vl.h
@@ -616,9 +616,11 @@ void bdrv_flush(BlockDriverState *bs);
#define BDRV_TYPE_HD 0
#define BDRV_TYPE_CDROM 1
#define BDRV_TYPE_FLOPPY 2
-#define BIOS_ATA_TRANSLATION_AUTO 0
-#define BIOS_ATA_TRANSLATION_NONE 1
-#define BIOS_ATA_TRANSLATION_LBA 2
+#define BIOS_ATA_TRANSLATION_AUTO 0
+#define BIOS_ATA_TRANSLATION_NONE 1
+#define BIOS_ATA_TRANSLATION_LBA 2
+#define BIOS_ATA_TRANSLATION_LARGE 3
+#define BIOS_ATA_TRANSLATION_RECHS 4
void bdrv_set_geometry_hint(BlockDriverState *bs,
int cyls, int heads, int secs);