The following changes since commit 8032c78e556cd0baec111740a6c636863f9bd7c8:
Merge tag 'firmware-20241216-pull-request' of https://gitlab.com/kraxel/qemu into staging (2024-12-16 14:20:33 -0500) are available in the Git repository at: https://gitlab.com/bibo-mao/qemu.git tags/pull-loongarch-20241219 for you to fetch changes up to 6f6006ad07243543595c7607ffbeee7f45b94b80: hw/intc/loongarch_extioi: Code cleanup about loongarch_extioi (2024-12-19 15:23:30 +0800) ---------------------------------------------------------------- pull-loongarch-20241219 v2 .. v3: 1. Fix make check issue on freeBSD 14 v1 .. v2: 1. Push patch again since forgot to push to upstream ---------------------------------------------------------------- Bibo Mao (18): include: Add loongarch_pic_common header file include: Move struct LoongArchPCHPIC to loongarch_pic_common header file hw/intc/loongarch_pch: Merge instance_init() into realize() hw/intc/loongarch_pch: Rename LoongArchPCHPIC with LoongArchPICCommonState hw/intc/loongarch_pch: Move some functions to file loongarch_pic_common hw/intc/loongarch_pch: Inherit from loongarch_pic_common hw/intc/loongarch_pch: Add pre_save and post_load interfaces hw/intc/loongarch_pch: Code cleanup about loongarch_pch_pic include: Add loongarch_extioi_common header file include: Move struct LoongArchExtIOI to header file loongarch_extioi_common include: Rename LoongArchExtIOI with LoongArchExtIOICommonState hw/intc/loongarch_extioi: Rename LoongArchExtIOI with LoongArchExtIOICommonState hw/intc/loongarch_extioi: Add common realize interface hw/intc/loongarch_extioi: Add unrealize interface hw/intc/loongarch_extioi: Add common file loongarch_extioi_common hw/intc/loongarch_extioi: Inherit from loongarch_extioi_common hw/intc/loongarch_extioi: Add pre_save interface hw/intc/loongarch_extioi: Code cleanup about loongarch_extioi hw/intc/loongarch_extioi.c | 112 ++++++++++------------------- hw/intc/loongarch_extioi_common.c | 113 ++++++++++++++++++++++++++++++ hw/intc/loongarch_pch_pic.c | 106 +++++++++------------------- hw/intc/loongarch_pic_common.c | 97 +++++++++++++++++++++++++ hw/intc/meson.build | 4 +- hw/loongarch/virt.c | 2 +- include/hw/intc/loongarch_extioi.h | 84 +++------------------- include/hw/intc/loongarch_extioi_common.h | 98 ++++++++++++++++++++++++++ include/hw/intc/loongarch_pch_pic.h | 70 ++++-------------- include/hw/intc/loongarch_pic_common.h | 82 ++++++++++++++++++++++ 10 files changed, 490 insertions(+), 278 deletions(-) create mode 100644 hw/intc/loongarch_extioi_common.c create mode 100644 hw/intc/loongarch_pic_common.c create mode 100644 include/hw/intc/loongarch_extioi_common.h create mode 100644 include/hw/intc/loongarch_pic_common.h
