]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
Initialize interrupt priority to 0 on all sources.
authorRuslan Bukin <br@FreeBSD.org>
Fri, 12 Oct 2018 15:51:41 +0000 (15:51 +0000)
committerRuslan Bukin <br@FreeBSD.org>
Fri, 12 Oct 2018 15:51:41 +0000 (15:51 +0000)
commit05efeb84308c5065090f225b1937afe34357db1f
tree2ed9a82acafd171d66c8ef6709cd03bb77d55ffc
parent78a36527944c2d87cf257a1f8d68a4c620940817
Initialize interrupt priority to 0 on all sources.

Without this hardware raises an interrupt regardless of any
pending bits set.

This fixes operation on RocketChip and derivatives (e.g. lowRISC).

Approved by: re (kib)
Sponsored by: DARPA, AFRL
sys/riscv/riscv/plic.c