xemu/hw/m68k
Philippe Mathieu-Daudé 4768968960 hw/m68k/mcf_intc: Expose MMIO region via SysBus API
QOM objects shouldn't access each other internals fields
except using the QOM API.

Here the caller of mcf_intc_init() access the MMIO region from
the MCF_INTC state. Avoid that by exposing that region via
sysbus_init_mmio(), then get it with sysbus_mmio_get_region().

Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Tested-by: Thomas Huth <huth@tuxfamily.org>
Reviewed-by: Thomas Huth <huth@tuxfamily.org>
Message-ID: <20231024083010.12453-4-philmd@linaro.org>
Signed-off-by: Thomas Huth <huth@tuxfamily.org>
2023-11-01 07:20:34 +01:00
..
Kconfig audio: add Apple Sound Chip (ASC) emulation 2023-10-06 10:33:43 +02:00
an5206.c hw/m68k/mcf5206: Pass CPU using QOM link property 2023-11-01 07:20:34 +01:00
bootinfo.h hw/m68k: Clean up local variable shadowing 2023-09-29 10:07:15 +02:00
mcf5206.c hw/m68k/mcf5206: Pass CPU using QOM link property 2023-11-01 07:20:34 +01:00
mcf5208.c ptimer: Rename PTIMER_POLICY_DEFAULT to PTIMER_POLICY_LEGACY 2022-05-19 16:19:03 +01:00
mcf_intc.c hw/m68k/mcf_intc: Expose MMIO region via SysBus API 2023-11-01 07:20:34 +01:00
meson.build q800: move GLUE device into separate q800-glue.c file 2023-06-22 09:21:57 +02:00
next-cube.c other architectures: spelling fixes 2023-07-25 17:14:07 +03:00
next-kbd.c other architectures: spelling fixes 2023-07-25 17:14:07 +03:00
q800-glue.c q800: add Apple Sound Chip (ASC) audio to machine 2023-10-06 10:33:43 +02:00
q800.c q800: add alias for MacOS toolbox ROM at 0x40000000 2023-10-06 10:33:43 +02:00
virt.c hw/m68k/irqc: Pass CPU using QOM link property 2023-11-01 07:20:34 +01:00