]> git.ipfire.org Git - thirdparty/qemu.git/commit
hw/intc/loongarch_extioi: Fix typo issue about register EXTIOI_COREISR_END
authorBibo Mao <maobibo@loongson.cn>
Thu, 5 Jun 2025 09:28:48 +0000 (17:28 +0800)
committerSong Gao <gaosong@loongson.cn>
Tue, 10 Jun 2025 03:56:51 +0000 (11:56 +0800)
commit1e043baf15241f18a35f050fb2a2beb3fd7c7906
treedbaa7981055495d6337b923c5e7cc2a8612b5c6c
parent095e6fcf624e9778ca455d3e654bfd7a2f43d653
hw/intc/loongarch_extioi: Fix typo issue about register EXTIOI_COREISR_END

Interrupt controller extioi supports 256 vectors, register EXTIOI_COREISR
records pending interrupt status with bitmap method. Size of EXTIOI_COREISR
is 256 / 8 = 0x20 bytes, EXTIOI_COREISR_END should be EXTIOI_COREISR_START
+ 0x20 rather than 0xB20.

Signed-off-by: Bibo Mao <maobibo@loongson.cn>
Reviewed-by: Song Gao <gaosong@loongson.cn>
Message-Id: <20250605092848.1550985-1-maobibo@loongson.cn>
Signed-off-by: Song Gao <gaosong@loongson.cn>
include/hw/intc/loongarch_extioi_common.h