]> git.ipfire.org Git - thirdparty/qemu.git/commit
hw/intc/loongarch_extioi: Inherit from loongarch_extioi_common
authorBibo Mao <maobibo@loongson.cn>
Fri, 13 Dec 2024 07:32:39 +0000 (15:32 +0800)
committerBibo Mao <maobibo@loongson.cn>
Thu, 19 Dec 2024 07:23:29 +0000 (15:23 +0800)
commit272c467a48815e77db89b69dcd251b9f5b22203e
treef34147edf0fc4dbba8c2275b8dbdb9aa3048317e
parent6b69f778176d6d00842ec4e7ac9400af1620387a
hw/intc/loongarch_extioi: Inherit from loongarch_extioi_common

Set TYPE_LOONGARCH_EXTIOI inherit from TYPE_LOONGARCH_EXTIOI_COMMON
object, it shares vmsate and property of TYPE_LOONGARCH_EXTIOI_COMMON,
and has its own realize() function.

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
hw/intc/meson.build
include/hw/intc/loongarch_extioi.h
include/hw/intc/loongarch_extioi_common.h