diff options
| author | Song Gao <gaosong@loongson.cn> | 2024-04-26 17:15:45 +0800 |
|---|---|---|
| committer | Song Gao <gaosong@loongson.cn> | 2024-04-29 10:25:56 +0800 |
| commit | 975a5afe376c192b1e5d5e3eff435ac8188fe41c (patch) | |
| tree | e5997bd2c32faf42f681dceb22dbba4d6af2abd9 /include/hw/intc | |
| parent | a0663efd81e6252b12ea716d13db10fdd022435b (diff) | |
| download | focaccia-qemu-975a5afe376c192b1e5d5e3eff435ac8188fe41c.tar.gz focaccia-qemu-975a5afe376c192b1e5d5e3eff435ac8188fe41c.zip | |
hw/loongarch: fdt adds Extend I/O Interrupt Controller
fdt adds Extend I/O Interrupt Controller, we use 'loongson,ls2k2000-eiointc'. See: https://github.com/torvalds/linux/blob/v6.7/drivers/irqchip/irq-loongson-eiointc.c https://lore.kernel.org/r/764e02d924094580ac0f1d15535f4b98308705c6.1683279769.git.zhoubinbin@loongson.cn Signed-off-by: Song Gao <gaosong@loongson.cn> Reviewed-by: Bibo Mao <maobibo@loongson.cn> Message-Id: <20240426091551.2397867-12-gaosong@loongson.cn>
Diffstat (limited to 'include/hw/intc')
| -rw-r--r-- | include/hw/intc/loongarch_extioi.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/hw/intc/loongarch_extioi.h b/include/hw/intc/loongarch_extioi.h index a0a46b888c..410c6e1121 100644 --- a/include/hw/intc/loongarch_extioi.h +++ b/include/hw/intc/loongarch_extioi.h @@ -39,6 +39,7 @@ #define EXTIOI_COREISR_END (0xB20 - APIC_OFFSET) #define EXTIOI_COREMAP_START (0xC00 - APIC_OFFSET) #define EXTIOI_COREMAP_END (0xD00 - APIC_OFFSET) +#define EXTIOI_SIZE 0x800 typedef struct ExtIOICore { uint32_t coreisr[EXTIOI_IRQS_GROUP_COUNT]; |