RTEMS | bsp/arm/tms570: protect against vector < 2 in irq_set_priority (!1226)

Avi Weiss (@thnkslprpt) gitlab at rtems.org
Fri May 1 09:06:45 UTC 2026



Avi Weiss created a merge request: https://gitlab.rtems.org/rtems/rtos/rtems/-/merge_requests/1226

Project:Branches: thnkslprpt/rtems:fix-5565-irq-vector-less-than-2 to rtems/rtos/rtems:main
Author:   Avi Weiss



## Summary

Fixes #5565 

calls to `tms570_irq_set_priority` protect against requesting a `priority < 2`, but not against inputs with `vector < 2`.  

See issue #5565 for more detail on the current behavior.  

This commit puts a guard to fail on requests with `vector < 2`.  

Follow-on commits apply RTEMS style guide conventions where it makes sense.  


## Generative AI
None

-- 
View it on GitLab: https://gitlab.rtems.org/rtems/rtos/rtems/-/merge_requests/1226
You're receiving this email because of your account on gitlab.rtems.org.


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rtems.org/pipermail/bugs/attachments/20260501/6694b5d6/attachment-0001.htm>


More information about the bugs mailing list