hw/intc/loongarch_pch: Code cleanup about loongarch_pch_pic
authorBibo Mao <maobibo@loongson.cn>
Wed, 18 Sep 2024 04:05:00 +0000 (12:05 +0800)
committerBibo Mao <maobibo@loongson.cn>
Thu, 19 Dec 2024 07:23:29 +0000 (15:23 +0800)
commitb2799f101cfb58f46cd5ef043038276d128d8e72
treeb64ade33fc986140802237dff274eb78123d309b
parent36d31cf812848ee65ab03ca901e7b140f5538a7a
hw/intc/loongarch_pch: Code cleanup about loongarch_pch_pic

Remove definition about LoongArchPCHPIC and LOONGARCH_PCH_PIC, and
replace them with LoongArchPICCommonState and LOONGARCH_PIC_COMMON
separately. Also remove unnecessary header files.

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