commit | 08507399ab4d7a77c5a1b398eb37a06a2ebebd01 | [log] [tgz] |
---|---|---|
author | Philippe Mathieu-Daudé <philmd@linaro.org> | Thu Feb 15 15:33:50 2024 +0100 |
committer | Philippe Mathieu-Daudé <philmd@linaro.org> | Thu Feb 15 16:58:46 2024 +0100 |
tree | de55711b0c2079edcc948197cb75517440dc5620 | |
parent | 5c7127ee1ce1a4fefc13a12da12fb738b2b9174c [diff] |
hw/sparc/leon3: Pass DeviceState opaque argument to leon3_start_cpu() By passing a DeviceState context to a QDev IRQ handler, we can simplify and use qdev_init_gpio_in_named() instead of qdev_init_gpio_in_named_with_opaque(). Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org> Reviewed-by: Mark Cave-Ayland <mark.cave-ayland@ilande.co.uk> Message-Id: <20240215144623.76233-3-philmd@linaro.org>