lib: utils/irqchip: Add IMSIC library
authorAnup Patel <apatel@ventanamicro.com>
Tue, 20 Apr 2021 11:03:40 +0000 (16:33 +0530)
committerAnup Patel <anup@brainfault.org>
Tue, 15 Feb 2022 15:06:24 +0000 (20:36 +0530)
commit9f73669959dd8ec2f1261b639f9540799dc976a1
tree49f9cfc8a3a8afcb544c2433024f4310ed8e1c2f
parent55e79f823dfa65022a561d3078ac50d49262e246
lib: utils/irqchip: Add IMSIC library

We add simple IMSIC library which is independent of hardware description
format (FDT or ACPI). This IMSIC library can be used by custom OpenSBI
platform support to setup IMSIC for external interrupts.

Signed-off-by: Anup Patel <anup.patel@wdc.com>
Signed-off-by: Anup Patel <apatel@ventanamicro.com>
Reviewed-by: Atish Patra <atishp@rivosinc.com>
include/sbi_utils/irqchip/imsic.h [new file with mode: 0644]
lib/utils/irqchip/imsic.c [new file with mode: 0644]
lib/utils/irqchip/objects.mk