Page MenuHomeFreeBSD

xen/intr: switch to passing initial parameters as temporary isrc
Needs ReviewPublic

Authored by on Thu, Jul 15, 5:04 AM.



Rather than joining the paramters together inside xen_intr_bind_isrc(),
there is some sense in using a temporary on-stack structure. While low
value at this point, this aids later commits.

Diff Detail

rS FreeBSD src repository - subversion
Lint OK
No Unit Test Coverage
Build Status
Buildable 40750
Build 37639: arc lint + arc unit

Event Timeline

This is what I was suggesting in D30936. Doesn't add much by itself, but seems plausible as a potential API. This has a distinct advantage for aarch64 as it could use "xen-virq%u", isrc->xi_virq for the intr_event_create() call in case of VIRQ. This seems better for VIRQs since they could get reassigned to different ports.

This removes one hunk which leaked in from a potential later commit.