[RTEMS Project] #5002: Add API to get and set interrupt priorities for interrupt vectors

RTEMS trac trac at rtems.org
Thu Mar 21 19:27:15 UTC 2024


#5002: Add API to get and set interrupt priorities for interrupt vectors
-----------------------------+------------------------------
 Reporter:  Sebastian Huber  |       Owner:  Sebastian Huber
     Type:  enhancement      |      Status:  assigned
 Priority:  normal           |   Milestone:  6.1
Component:  rtems            |     Version:  6
 Severity:  normal           |  Resolution:
 Keywords:                   |  Blocked By:
 Blocking:                   |
-----------------------------+------------------------------

Comment (by Gedare Bloom):

 Two basic questions:
 1. Does the priority field `type` need to be Architecture- or BSP-defined
 or is `uint32_t` always going to be fine.

 2. Does changing (increasing) the priority of a vector from within
 interrupt context possibly cause a pending interrupt to post that was
 previously at a lower priority than the currently masked priority level?
 In that case, it would cause a preemption to occur. I'm guessing this
 behavior could be architecture-specific.

--
Ticket URL: <http://devel.rtems.org/ticket/5002#comment:1>
RTEMS Project <http://www.rtems.org/>
RTEMS Project


More information about the bugs mailing list