]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
o Grab the number of devices supported by PLIC from FDT.
authorbr <br@FreeBSD.org>
Tue, 2 Apr 2019 12:02:35 +0000 (12:02 +0000)
committerbr <br@FreeBSD.org>
Tue, 2 Apr 2019 12:02:35 +0000 (12:02 +0000)
commit9e0faec84c22c7bf06e8d3c7310077eca267e235
tree8515f6474894fe9d93e7132800671e02ca880044
parent3fd37b6c9ae16092622df853ec9f5899b34cd39c
o Grab the number of devices supported by PLIC from FDT.
o Fix bug in PLIC_ENABLE macro when irq >= 32.

Tested on the real hardware, which is HiFive Unleashed board.

Thanks to SiFive, Inc. for the board provided.

Reviewed by: markj
Sponsored by: DARPA, AFRL
Differential Revision: https://reviews.freebsd.org/D19775
sys/riscv/riscv/plic.c