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, Jul 21, 4:44 AM
Unknown Object (File)
Sun, Jul 5, 7:19 AM
Unknown Object (File)
Sun, Jul 5, 7:19 AM
Unknown Object (File)
Sun, Jul 5, 4:22 AM
Unknown Object (File)
May 17 2026, 11:40 PM
Unknown Object (File)
May 11 2026, 12:30 PM
Unknown Object (File)
May 11 2026, 12:19 PM
Unknown Object (File)
May 3 2026, 4:22 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.