]> git.ipfire.org Git - thirdparty/qemu.git/commit
hw/intc/loongarch_pch: Modify name of some registers
authorBibo Mao <maobibo@loongson.cn>
Wed, 7 May 2025 02:31:33 +0000 (10:31 +0800)
committerSong Gao <gaosong@loongson.cn>
Wed, 14 May 2025 07:39:06 +0000 (15:39 +0800)
commitab9bbee3c7da3d5dcce03bd7379bc7d05243a9af
treefddd29f2c8d99052d34ed32ca088bd3db88cbf29
parent69ee0189d7977cfbb1b2c7a27393d8b9fb661b20
hw/intc/loongarch_pch: Modify name of some registers

For some registers with width 8 bytes, its name is something like
PCH_PIC_INT_ID_LO and PCH_PIC_INT_ID_HI. From hardware manual,
register name is PCH_PIC_INT_ID instead. Here name PCH_PIC_INT_ID
is used, and PCH_PIC_INT_ID + 4 is used for PCH_PIC_INT_ID_HI.

Signed-off-by: Bibo Mao <maobibo@loongson.cn>
Reviewed-by: Clement Mathieu--Drif <clement.mathieu--drif@eviden.com>
Reviewed-by: Song Gao <gaosong@loongson.cn>
Message-Id: <20250507023148.1877287-2-maobibo@loongson.cn>
Signed-off-by: Song Gao <gaosong@loongson.cn>
hw/intc/loongarch_pch_pic.c
hw/loongarch/virt.c
include/hw/intc/loongarch_pic_common.h