hw/ide/mmio: Extract TYPE_MMIO_IDE declarations to 'hw/ide/mmio.h'
authorPhilippe Mathieu-Daudé <philmd@linaro.org>
Thu, 9 Feb 2023 22:24:42 +0000 (23:24 +0100)
committerPhilippe Mathieu-Daudé <philmd@linaro.org>
Mon, 27 Feb 2023 21:29:02 +0000 (22:29 +0100)
commit01c43405d63210fcb7da6a3cab862f0651942596
tree3287f2a4b1e23a10259fcadca6bf0079396da72b
parentc79f63ff39d8b48a88104f08dccad76eccb5f27a
hw/ide/mmio: Extract TYPE_MMIO_IDE declarations to 'hw/ide/mmio.h'

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

Extract mmio_ide_init_drives() and the TYPE_MMIO_IDE QOM
declarations to a new "hw/ide/mmio.h" header.

Document the SysBus interface.

Message-Id: <20230215112712.23110-4-philmd@linaro.org>
Reviewed-by: Alex Bennée <alex.bennee@linaro.org>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org>
hw/ide/mmio.c
hw/sh4/r2d.c
include/hw/ide.h
include/hw/ide/mmio.h [new file with mode: 0644]