mirror of
https://github.com/xemu-project/xemu.git
synced 2024-11-23 19:49:43 +00:00
e8f79343cf
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>
84 lines
904 B
Plaintext
84 lines
904 B
Plaintext
config HEATHROW_PIC
|
|
bool
|
|
|
|
config I8259
|
|
bool
|
|
select ISA_BUS
|
|
|
|
config PL190
|
|
bool
|
|
|
|
config IOAPIC
|
|
bool
|
|
select I8259
|
|
|
|
config ARM_GIC
|
|
bool
|
|
select MSI_NONBROKEN
|
|
|
|
config OPENPIC
|
|
bool
|
|
select MSI_NONBROKEN
|
|
|
|
config APIC
|
|
bool
|
|
select MSI_NONBROKEN
|
|
select I8259
|
|
|
|
config ARM_GIC_TCG
|
|
bool
|
|
default y
|
|
depends on ARM_GIC && TCG
|
|
|
|
config ARM_GIC_KVM
|
|
bool
|
|
default y
|
|
depends on ARM_GIC && KVM
|
|
|
|
config XICS
|
|
bool
|
|
|
|
config XIVE
|
|
bool
|
|
|
|
config ALLWINNER_A10_PIC
|
|
bool
|
|
|
|
config S390_FLIC
|
|
bool
|
|
|
|
config S390_FLIC_KVM
|
|
bool
|
|
default y
|
|
depends on S390_FLIC && KVM
|
|
|
|
config OMPIC
|
|
bool
|
|
|
|
config PPC_UIC
|
|
bool
|
|
|
|
config SH_INTC
|
|
bool
|
|
|
|
config RX_ICU
|
|
bool
|
|
|
|
config LOONGSON_LIOINTC
|
|
bool
|
|
|
|
config RISCV_ACLINT
|
|
bool
|
|
|
|
config RISCV_APLIC
|
|
bool
|
|
|
|
config SIFIVE_PLIC
|
|
bool
|
|
|
|
config GOLDFISH_PIC
|
|
bool
|
|
|
|
config M68K_IRQC
|
|
bool
|