Page MenuHomeFreeBSD

Allocate interrupt before configuring trigger and polarity on ARM64
AbandonedPublic

Authored by mst_semihalf.com on Apr 27 2016, 4:26 PM.
Tags
None
Referenced Files
Unknown Object (File)
Tue, Oct 21, 9:28 AM
Unknown Object (File)
Tue, Oct 21, 9:28 AM
Unknown Object (File)
Mon, Oct 20, 10:06 PM
Unknown Object (File)
Thu, Oct 9, 6:23 AM
Unknown Object (File)
Sat, Oct 4, 7:07 AM
Unknown Object (File)
Wed, Sep 24, 12:17 PM
Unknown Object (File)
Sep 15 2025, 5:03 PM
Unknown Object (File)
Sep 11 2025, 7:25 PM
Subscribers

Details

Reviewers
zbb
andrew
imp
Summary

Calling BUS_SETUP_INTR allocates the interrupt structure and inserts it in the interrupt list. If BUS_CONFIG_INTR is called beforehand, the interrupt will not yet be in the list and the function will return with an error.

This change allows function intr_irq_config to allocate the interrupt to be able to store the information about its trigger and polarity.

Diff Detail

Repository
rS FreeBSD src repository - subversion
Lint
Lint Skipped
Unit
Tests Skipped

Event Timeline

mst_semihalf.com retitled this revision from to Allocate interrupt before configuring trigger and polarity on ARM64.
mst_semihalf.com updated this object.
mst_semihalf.com edited the test plan for this revision. (Show Details)
mst_semihalf.com added reviewers: andrew, zbb.
mst_semihalf.com set the repository for this revision to rS FreeBSD src repository - subversion.
mst_semihalf.com added a subscriber: arm64.