hw/intc/loongarch_extioi: Move gpio irq initial to common code
authorBibo Mao <maobibo@loongson.cn>
Fri, 10 Jan 2025 08:29:47 +0000 (16:29 +0800)
committerBibo Mao <maobibo@loongson.cn>
Wed, 5 Mar 2025 01:39:17 +0000 (09:39 +0800)
commit8b4b668f6a3661885fcabcedcf812930d5577f7e
tree8357322e2e989905e1292c80051425e5bc286102
parent50ebc3fc47f7e4133e0d5e2674a1db17ddd5e815
hw/intc/loongarch_extioi: Move gpio irq initial to common code

When cpu is added, it will connect gpio irq line to cpu irq.
And cpu hot-add is put in common code, move gpio irq initial
part into common code.

Signed-off-by: Bibo Mao <maobibo@loongson.cn>
hw/intc/loongarch_extioi.c
hw/intc/loongarch_extioi_common.c