CVS: cvs.openbsd.org: src

Mark Kettenis <[email protected]> Fri, 24 Jul 2026 04:51:01 -0600 (MDT)
Newsgroups gmane.os.openbsd.cvs
Message-ID <[email protected]>
CVSROOT:	/cvs
Module name:	src
Changes by:	[email protected]	2026/07/24 04:51:01

Modified files:
	sys/arch/riscv64/dev: riscv_cpu_intc.c 
	sys/arch/riscv64/include: riscvreg.h 
	sys/arch/riscv64/conf: GENERIC RAMDISK files.riscv64 
Added files:
	sys/arch/riscv64/dev: aplic.c imsic.c 

Log message:
Add support for the RISC-V Advanced Interrupt Architecture.  This adds
new imsic(4) and aplic(4) drivers for the Incoming MSI Controller and
Advanced Platform-Level Interrupt Controller and supports the standard
configuration where both are presents and imsic(4) functions as the
top-level interrupt controller and aplic(4) forwarding classic interrupt
lines as MSIs to imsic(4).  Tested on QEMU and Spacemit K3.

ok jca@, mlarkin@