RTEMS | testsuites/validation: Fix interrupt priority validation on BSPs (!1254)

Gedare Bloom (@gedare) gitlab at rtems.org
Wed Jun 3 20:48:26 UTC 2026




Gedare Bloom commented on a discussion on testsuites/validation/tc-intr-set-priority.c: https://gitlab.rtems.org/rtems/rtos/rtems/-/merge_requests/1254#note_151720

 >    }
 >  
 >    sc = rtems_interrupt_set_priority( vector, priority );
 > +
 > +    /*
 > +    * Some BSPs support full uint32_t priority range
 > +    * UINT32_MAX may be valid. 
 > +    */ 
 > +    if ( !ctx->valid_priority && sc == RTEMS_SUCCESSFUL ){

Hard-coding the supported architectures is probably not ideal, but short of introducing the new configuration option, this seems like the best solution at hand.

-- 
View it on GitLab: https://gitlab.rtems.org/rtems/rtos/rtems/-/merge_requests/1254#note_151720
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/20260603/51ffb197/attachment-0001.htm>


More information about the bugs mailing list