Page MenuHomeFreeBSD

Fix PLIC number of devices supported
ClosedPublic

Authored by br on Apr 1 2019, 2:51 PM.
Tags
None
Referenced Files
F168153097: D19775.id55720.diff
Wed, Aug 26, 3:12 PM
F168070569: D19775.id55673.diff
Wed, Aug 26, 6:02 AM
F168063615: D19775.id.diff
Wed, Aug 26, 5:09 AM
Unknown Object (File)
Mon, Aug 24, 7:54 PM
Unknown Object (File)
Tue, Aug 18, 7:13 PM
Unknown Object (File)
Fri, Aug 14, 9:18 PM
Unknown Object (File)
Wed, Aug 12, 8:27 PM
Unknown Object (File)
Tue, Aug 11, 3:30 AM
Subscribers

Details

Summary
  1. Grab number of devices supported from FDT
  2. Fix bug PLIC_ENABLE macro
Test Plan

Tested on HiFive Unleashed

Diff Detail

Repository
rS FreeBSD src repository - subversion
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

Looks ok to me other than the comment.

sys/riscv/riscv/plic.c
205 ↗(On Diff #55673)

Should you verify that ndev < PLIC_MAX_IRQS?

This revision is now accepted and ready to land.Apr 1 2019, 7:43 PM
This revision was automatically updated to reflect the committed changes.