]> git.ipfire.org Git - thirdparty/qemu.git/commit
hw/intc/loongarch_extioi: Move unrealize function to common code
authorBibo Mao <maobibo@loongson.cn>
Thu, 10 Jul 2025 08:21:31 +0000 (16:21 +0800)
committerBibo Mao <maobibo@loongson.cn>
Fri, 11 Jul 2025 06:47:15 +0000 (14:47 +0800)
commit90cff30d72d4f63fbfa637140b9e06e9894220c2
tree932416463ace0a8ddf2c9dc27351c5d11ba4c384
parentdf6fe2abf2e990f767ce755d426bc439c7bba336
hw/intc/loongarch_extioi: Move unrealize function to common code

Memory about LoongArchExtIOICommonState::cpu is allocated in common
code, it had better be freed in common code also.

Signed-off-by: Bibo Mao <maobibo@loongson.cn>
Reviewed-by: Song Gao <gaosong@loongson.cn>
hw/intc/loongarch_extioi.c
hw/intc/loongarch_extioi_common.c
include/hw/intc/loongarch_extioi.h
include/hw/intc/loongarch_extioi_common.h