Skip to content

secure routing API for NVIC now takes exclusive reference - #674

Merged
jonathanpallant merged 1 commit into
masterfrom
nvic-secure-routers-now-take-exclusive-ownership
Jul 25, 2026
Merged

jonathanpallant merged 1 commit into
masterfrom
nvic-secure-routers-now-take-exclusive-ownership

Conversation

@robamu

@robamu robamu commented Jul 24, 2026 •

Copy link
Copy Markdown
Contributor

these methods do a non-atomic operation because they modify the register. In the set_priority method which also does a register modification, the method takes exclusive reference by taking &mut self. maybe we should do the same here? if not, we should either update the safety note, or update set_priority to be consistent.

@robamu
robamu requested review from Copilot and jonathanpallant and removed request for Copilot July 24, 2026 17:01
@thejpster thejpster mentioned this pull request Jul 24, 2026
@thejpster

Copy link
Copy Markdown
Contributor

Yes these methods should take &mut - good catch

@robamu robamu changed the title secure routing API for NVIC now takes exclusive ownership secure routing API for NVIC now takes exclusive reference Jul 24, 2026
@jonathanpallant
jonathanpallant added this pull request to the merge queue Jul 25, 2026
Merged via the queue into master with commit e634763 Jul 25, 2026
12 checks passed
@jonathanpallant
jonathanpallant deleted the nvic-secure-routers-now-take-exclusive-ownership branch July 25, 2026 08:22
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants