summaryrefslogtreecommitdiffstats
path: root/include/fpu
diff options
context:
space:
mode:
authorRoman Kagan2016-02-17 19:25:32 +0100
committerMichael S. Tsirkin2016-03-11 13:55:15 +0100
commite08fde0c5ee4e7f3ec319a44b846fb9e127c1db2 (patch)
tree0e0e5b23dd7fd165cdb5e9b8f5ad125c38891e33 /include/fpu
parenti386: expose floppy drive CMOS type (diff)
downloadqemu-e08fde0c5ee4e7f3ec319a44b846fb9e127c1db2.tar.gz
qemu-e08fde0c5ee4e7f3ec319a44b846fb9e127c1db2.tar.xz
qemu-e08fde0c5ee4e7f3ec319a44b846fb9e127c1db2.zip
fdc: add function to determine drive chs limits
When populating ACPI objects for floppy drives one needs to provide the maximum values for cylinder, sector, and head number the drive supports. This patch adds a function that iterates through the array of predefined floppy drive formats and returns the maximum values of c, h, s, out of those matching the given floppy drive type. Signed-off-by: Roman Kagan <rkagan@virtuozzo.com> Cc: Igor Mammedov <imammedo@redhat.com> Cc: "Michael S. Tsirkin" <mst@redhat.com> Cc: Marcel Apfelbaum <marcel@redhat.com> Cc: John Snow <jsnow@redhat.com> Cc: Laszlo Ersek <lersek@redhat.com> Cc: Kevin O'Connor <kevin@koconnor.net> Reviewed-by: Michael S. Tsirkin <mst@redhat.com> Signed-off-by: Michael S. Tsirkin <mst@redhat.com> Reviewed-by: John Snow <jsnow@redhat.com>
Diffstat (limited to 'include/fpu')
0 files changed, 0 insertions, 0 deletions