HomeFreeBSD

plic: fix PLIC_MAX_IRQS

Description

plic: fix PLIC_MAX_IRQS

The maximum number of PLIC interrupts is defined in the PLIC spec[1]
as 1024.

[1] https://github.com/riscv/riscv-plic-spec/blob/master/riscv-plic.adoc

MFC after: 1 week

Details

Provenance
mhorneAuthored on
Parents
rS354602: linprocfs: Make sure to report -1 as tty when we have no controlling tty.
Branches
Unknown
Tags
Unknown