Since v4:
- Rebased on Leon3 SMP support [1].
- qdev_init_gpio_in_named( leon3_start_cpu ) without opaque
This is the rebased patches of v4 [2]. See cover:
Hi,
This series ensure following is called *before* a
device is realized:
- qbus_new()
- sysbus_init_mmio()
- qdev_init_gpio_in_named_with_opaque()
and these are called *after* it is:
- sysbus_mmio_map()
- sysbus_connect_irq(),
- qdev_connect_gpio_out()
- qdev_connect_gpio_out_named()
[1] https://lore.kernel.org/qemu-devel/20240131085047.18458-1-chigot@adacore.com/
[2] https://lore.kernel.org/qemu-devel/20240213130341.1793-1-philmd@linaro.org/
Philippe Mathieu-Daudé (3):
hw/sparc/leon3: Pass DeviceState opaque argument to leon3_set_pil_in()
hw/sparc/leon3: Pass DeviceState opaque argument to leon3_start_cpu()
hw/sparc/leon3: Initialize GPIO before realizing CPU devices
hw/sparc/leon3.c | 19 +++++++++----------
1 file changed, 9 insertions(+), 10 deletions(-)
--
2.41.0