hw/block/fdc-isa: Implement relocation and enabling/disabling for TYPE_ISA_FDC
authorBernhard Beschow <shentey@gmail.com>
Sun, 14 Jan 2024 12:39:07 +0000 (13:39 +0100)
committerMichael S. Tsirkin <mst@redhat.com>
Wed, 14 Feb 2024 11:09:32 +0000 (06:09 -0500)
commit8c4d239139e93268884f9d385a0966ef40db422f
tree246754662cc0002009c09244ae7d86b452c8270c
parentf165cdf102bb93c255c63b77617ba371d73344e0
hw/block/fdc-isa: Implement relocation and enabling/disabling for TYPE_ISA_FDC

The real SuperI/O chips emulated by QEMU allow for relocating and enabling or
disabling their SuperI/O functions via software. So far this is not implemented.
Prepare for that by adding isa_fdc_set_{enabled,iobase}.

Signed-off-by: Bernhard Beschow <shentey@gmail.com>
Message-Id: <20240114123911.4877-8-shentey@gmail.com>
Reviewed-by: Michael S. Tsirkin <mst@redhat.com>
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
hw/block/fdc-isa.c
include/hw/block/fdc.h