aboutsummaryrefslogtreecommitdiff
path: root/fsdev/qemu-fsdev.c
diff options
context:
space:
mode:
authorPhilippe Mathieu-Daudé <philmd@linaro.org>2023-10-24 10:30:06 +0200
committerThomas Huth <huth@tuxfamily.org>2023-11-01 07:20:34 +0100
commit4768968960f74db92d9fac360c17838cda39614b (patch)
tree993dfca2900bc415c9366c0ea0f2d699264a6e4c /fsdev/qemu-fsdev.c
parent989c8a46cc9ec211b94c4dfa0f8fd8662ab697da (diff)
downloadqemu-4768968960f74db92d9fac360c17838cda39614b.zip
qemu-4768968960f74db92d9fac360c17838cda39614b.tar.gz
qemu-4768968960f74db92d9fac360c17838cda39614b.tar.bz2
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>
Diffstat (limited to 'fsdev/qemu-fsdev.c')
0 files changed, 0 insertions, 0 deletions