hw/ide/isa: Extract TYPE_ISA_IDE declarations to 'hw/ide/isa.h'
authorPhilippe Mathieu-Daudé <philmd@linaro.org>
Thu, 9 Feb 2023 22:26:36 +0000 (23:26 +0100)
committerPhilippe Mathieu-Daudé <philmd@linaro.org>
Mon, 27 Feb 2023 21:29:02 +0000 (22:29 +0100)
commit794093e80a2fb0e13f921b52ebe1a02ad30ab735
treee13c470ecd13f41696280656f0cf8c2c5faa32c3
parent01c43405d63210fcb7da6a3cab862f0651942596
hw/ide/isa: Extract TYPE_ISA_IDE declarations to 'hw/ide/isa.h'

"hw/ide.h" is a mixed bag of lost IDE declarations.

Extract isa_ide_init() and the TYPE_ISA_IDE QOM declarations
to a new "hw/ide/isa.h" header.

Rename ISAIDEState::isairq as 'irqnum' to emphasize this is
not a qemu_irq object but the number (index) of an ISA IRQ.

Message-Id: <20230215112712.23110-5-philmd@linaro.org>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Reviewed-by: Bernhard Beschow <shentey@gmail.com>
Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org>
hw/i386/pc_piix.c
hw/ide/isa.c
include/hw/ide.h
include/hw/ide/isa.h [new file with mode: 0644]