]> www.infradead.org Git - users/dwmw2/qemu.git/commit
hw/ipack: Remove legacy qemu_allocate_irqs() use
authorPhilippe Mathieu-Daudé <philmd@linaro.org>
Tue, 21 Jan 2025 07:34:55 +0000 (08:34 +0100)
committerPhilippe Mathieu-Daudé <philmd@linaro.org>
Fri, 31 Jan 2025 18:36:44 +0000 (19:36 +0100)
commitd50280af1bc4b9a59c4a6424c6172a1397f5f6c3
treee456a79462d5977e0f2f9a73a12fdcfa159a8eb4
parent29df910401a66ee65f553eecebf01993115082d2
hw/ipack: Remove legacy qemu_allocate_irqs() use

No need to dynamically allocate IRQ when we know before hands
how many we'll use. Declare the 2 of them in IPackDevice state
and initialize them in the DeviceRealize handler.

Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Message-Id: <20250121155526.29982-4-philmd@linaro.org>
hw/char/ipoctal232.c
hw/ipack/ipack.c
hw/ipack/tpci200.c
include/hw/ipack/ipack.h