Page MenuHomeFreeBSD

intr: add interrupt FOREACH macro
AbandonedPublic

Authored by ehem_freebsd_m5p.com on Sep 16 2022, 7:17 PM.
Tags
None
Referenced Files
Unknown Object (File)
Feb 11 2024, 3:05 PM
Unknown Object (File)
Dec 23 2023, 10:38 AM
Unknown Object (File)
Dec 21 2023, 10:05 PM
Unknown Object (File)
Dec 19 2023, 9:00 PM
Unknown Object (File)
Dec 11 2023, 12:53 AM
Unknown Object (File)
Oct 30 2023, 2:29 PM
Unknown Object (File)
Oct 28 2023, 6:05 PM
Unknown Object (File)
Sep 30 2023, 5:48 PM

Details

Reviewers
None
Summary

Another thing sometimes needed, looping over all interrupts. This
iterates over all allocated interrupt numbers.

Diff Detail

Repository
rG FreeBSD src repository
Lint
Lint Passed
Unit
No Test Coverage
Build Status
Buildable 47499
Build 44386: arc lint + arc unit

Event Timeline

Ick, dropping the idea of a common maximum possible interrupt number variable. Had seemed worthwhile, but now I'm unsure.

While at it, appears Herald rule H67 has been broken by the configuration change for arc (defaults to rG, not rS).

Naturally finding bugs during full build...

This doesn't do much more than provide some support for D36610. I'm unsure of the approach, but needed something to maintain compatibility with D36610. I won't be surprised by abandoning this if a better approach is suggested.

The need would be addressed by D37870. Since that is simpler and likely less controversial, go with that.