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)
Thu, Nov 13, 12:31 AM
Unknown Object (File)
Wed, Nov 12, 9:38 PM
Unknown Object (File)
Wed, Nov 12, 11:03 AM
Unknown Object (File)
Thu, Nov 6, 6:27 PM
Unknown Object (File)
Sat, Nov 1, 5:34 AM
Unknown Object (File)
Tue, Oct 28, 5:41 PM
Unknown Object (File)
Mon, Oct 27, 5:12 AM
Unknown Object (File)
Oct 24 2025, 11:10 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.