mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-02 23:33:54 -06:00
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>
This commit is contained in:
parent
095e6fcf62
commit
1e043baf15
1 changed files with 1 additions and 1 deletions
|
@ -35,7 +35,7 @@
|
|||
#define EXTIOI_ISR_START (0x700 - APIC_OFFSET)
|
||||
#define EXTIOI_ISR_END (0x720 - APIC_OFFSET)
|
||||
#define EXTIOI_COREISR_START (0x800 - APIC_OFFSET)
|
||||
#define EXTIOI_COREISR_END (0xB20 - APIC_OFFSET)
|
||||
#define EXTIOI_COREISR_END (0x820 - APIC_OFFSET)
|
||||
#define EXTIOI_COREMAP_START (0xC00 - APIC_OFFSET)
|
||||
#define EXTIOI_COREMAP_END (0xD00 - APIC_OFFSET)
|
||||
#define EXTIOI_SIZE 0x800
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue