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)
Fri, Nov 1, 2:23 PM
Unknown Object (File)
Tue, Oct 22, 1:30 AM
Unknown Object (File)
Mon, Oct 21, 6:02 PM
Unknown Object (File)
Wed, Oct 16, 1:16 PM
Unknown Object (File)
Oct 2 2024, 8:11 PM
Unknown Object (File)
Sep 27 2024, 7:25 AM
Unknown Object (File)
Sep 26 2024, 11:29 AM
Unknown Object (File)
Sep 14 2024, 3:25 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 47437
Build 44324: 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.