hw/intc: Add RISC-V AIA APLIC device emulation
authorAnup Patel <anup.patel@wdc.com>
Fri, 4 Feb 2022 17:46:54 +0000 (23:16 +0530)
committerAlistair Francis <alistair.francis@wdc.com>
Wed, 16 Feb 2022 02:24:19 +0000 (12:24 +1000)
commite8f79343cfc886aaa225cec9faf6881f75945209
tree9635d35329eb2f05cd58d22484a06e8b291696c0
parent91870b510ae5d1cb9688231b8f01dceaab64de68
hw/intc: Add RISC-V AIA APLIC device emulation

The RISC-V AIA (Advanced Interrupt Architecture) defines a new
interrupt controller for wired interrupts called APLIC (Advanced
Platform Level Interrupt Controller). The APLIC is capabable of
forwarding wired interupts to RISC-V HARTs directly or as MSIs
(Message Signaled Interupts).

This patch adds device emulation for RISC-V AIA APLIC.

Signed-off-by: Anup Patel <anup.patel@wdc.com>
Signed-off-by: Anup Patel <anup@brainfault.org>
Reviewed-by: Frank Chang <frank.chang@sifive.com>
Message-id: 20220204174700.534953-19-anup@brainfault.org
Signed-off-by: Alistair Francis <alistair.francis@wdc.com>
hw/intc/Kconfig
hw/intc/meson.build
hw/intc/riscv_aplic.c [new file with mode: 0644]
include/hw/intc/riscv_aplic.h [new file with mode: 0644]