On 1/21/25 07:55, Philippe Mathieu-Daudé wrote:
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é<phi...@linaro.org>
---
include/hw/ipack/ipack.h | 7 ++-----
hw/char/ipoctal232.c | 4 ++--
hw/ipack/ipack.c | 5 +----
hw/ipack/tpci200.c | 6 +++---
4 files changed, 8 insertions(+), 14 deletions(-)
Reviewed-by: Richard Henderson <richard.hender...@linaro.org>
r~