Windows on UEFI systems is only capable of detecting the presence and
the type of floppy drives via corresponding ACPI objects.
Those objects are added in patch 4; the preceding ones pave the way to
it, by making the necessary data public and by moving the whole floppy
drive controller description into runtime-generated SSDT.
Roman Kagan (4):
i386/acpi: make floppy controller object dynamic
i386: expose floppy drive CMOS type
fdc: add function to determine drive chs limits
i386: populate floppy drive information in DSDT
Signed-off-by: Roman Kagan <address@hidden>
Cc: Igor Mammedov <address@hidden>
Cc: "Michael S. Tsirkin" <address@hidden>
Cc: Marcel Apfelbaum <address@hidden>
Cc: John Snow <address@hidden>
Cc: Laszlo Ersek <address@hidden>
Cc: Kevin O'Connor <address@hidden>
---
changes since v7:
- rebased to latest master
- use drive max c,h,s rather than the current diskette geometry
hw/block/fdc.c | 23 +++++++++++++
hw/i386/acpi-build.c | 92 ++++++++++++++++++++++++++++++++++++--------------
hw/i386/pc.c | 2 +-
include/hw/block/fdc.h | 2 ++
include/hw/i386/pc.h | 1 +
5 files changed, 94 insertions(+), 26 deletions(-)