]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
MFC r345796:
authorRuslan Bukin <br@FreeBSD.org>
Tue, 4 Jun 2019 15:18:41 +0000 (15:18 +0000)
committerRuslan Bukin <br@FreeBSD.org>
Tue, 4 Jun 2019 15:18:41 +0000 (15:18 +0000)
commit9f369731578d5279d279ab1edcfbb9c0716779cb
tree9d0a62873ccee5f4f2f8a62d399c9acb116d66f2
parent9145c2b5edf8dceeba108f7e9f22669e96158de5
MFC r345796:

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.

Sponsored by: DARPA, AFRL
sys/riscv/riscv/plic.c