diff options
author | Hervé Poussineau <hpoussin@reactos.org> | 2012-02-06 22:29:09 +0100 |
---|---|---|
committer | Kevin Wolf <kwolf@redhat.com> | 2012-02-29 12:48:46 +0100 |
commit | 09c6d5850fbd2b8abeba927fffff036585a755e0 (patch) | |
tree | 8ec4874533b8558cbbcaf178ce3fb8b2a5a73d9f /hw/fdc.c | |
parent | f8d3d128576d2b492c4267083f67671b19edb63a (diff) | |
download | qemu-09c6d5850fbd2b8abeba927fffff036585a755e0.zip |
fdc: add a 'check media rate' property. Not used yet
Set it to true for current Qemu versions, and false for previous ones
Signed-off-by: Hervé Poussineau <hpoussin@reactos.org>
Signed-off-by: Kevin Wolf <kwolf@redhat.com>
Diffstat (limited to 'hw/fdc.c')
-rw-r--r-- | hw/fdc.c | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -420,6 +420,7 @@ struct FDCtrl { int sun4m; FDrive drives[MAX_FD]; int reset_sensei; + uint32_t check_media_rate; /* Timers state */ uint8_t timer0; uint8_t timer1; @@ -2003,6 +2004,8 @@ static Property isa_fdc_properties[] = { DEFINE_PROP_DRIVE("driveB", FDCtrlISABus, state.drives[1].bs), DEFINE_PROP_INT32("bootindexA", FDCtrlISABus, bootindexA, -1), DEFINE_PROP_INT32("bootindexB", FDCtrlISABus, bootindexB, -1), + DEFINE_PROP_BIT("check_media_rate", FDCtrlISABus, state.check_media_rate, + 0, true), DEFINE_PROP_END_OF_LIST(), }; |