All interrupt architectures besides INTRNG expect interrupt numbers to
be selected outside. Increase INTRNG's cross-architecture potential by
allowing this approach.
Details
- Reviewers
- None
Diff Detail
- Repository
- rS FreeBSD src repository - subversion
- Lint
Lint Passed - Unit
No Test Coverage - Build Status
Buildable 42334 Build 39222: arc lint + arc unit
Event Timeline
This is more in the direction of D32504. Theory is, can INTRNG be adjusted to provide sufficient functionality to replace the current x86 interrupt framework?
In this initial form I used 0x80 as this is nominally a flag meant for use by isrc_alloc_irq() and doesn't really need to be stored permanently on the intr_irqsrc structure. The value doesn't really matter since it can readily by changed via intr.h, but seemed best to somehow hint it was a setup-only flag.
Other feature needed to subsume PowerPC interrupts is to be able to hash values for the irq_sources[] table. That though brings in the issue of how best to deal with collisions?
I now expect to abandon this. At this point I've got a PoC implementation of using a resource manager to handle the interrupt number ranges. This was a thought, but it seems unlikely now.