Here is cleanup with register name, the width of some registers are 64 bit.
To emulate 32 bit memory access, it is split into two registers with suffix
name low and high. Here register name and (register name + 4) is used
rather than splitting into two registers.
There is no function change in this patch set.
Bibo Mao (4):
hw/intc/loongarch_pch: Use default path when access some registers
hw/intc/loongarch_pch: Rename register name
hw/intc/loongarch_pch: Rename macro PCH_PIC_xxx_OFFSET with
PCH_PIC_xxx
hw/intc/loongarch_pch: Remove some duplicate macro
hw/intc/loongarch_pch_pic.c | 82 +++++++++++---------------
hw/loongarch/virt.c | 4 +-
include/hw/intc/loongarch_pic_common.h | 36 ++++-------
3 files changed, 49 insertions(+), 73 deletions(-)
base-commit: aa90f1161bb17a4863e16ec2f75104cff0752d4e
--
2.39.3