On 2/15/23 01:26, Philippe Mathieu-Daudé wrote:
"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.

Signed-off-by: Philippe Mathieu-Daudé<phi...@linaro.org>
---
  hw/ide/mmio.c         |  5 +----
  hw/sh4/r2d.c          |  2 +-
  include/hw/ide.h      |  3 ---
  include/hw/ide/mmio.h | 26 ++++++++++++++++++++++++++
  4 files changed, 28 insertions(+), 8 deletions(-)
  create mode 100644 include/hw/ide/mmio.h

Reviewed-by: Richard Henderson <richard.hender...@linaro.org>

r~

Reply via email to