[RTEMS Project] #3269: Make the IRQ extensions API a standard API

RTEMS trac trac at rtems.org
Thu Jun 24 10:29:57 UTC 2021


#3269: Make the IRQ extensions API a standard API
-----------------------------+------------------------------
 Reporter:  Sebastian Huber  |       Owner:  Sebastian Huber
     Type:  enhancement      |      Status:  assigned
 Priority:  normal           |   Milestone:  6.1
Component:  rtems            |     Version:  5
 Severity:  normal           |  Resolution:
 Keywords:  qualification    |  Blocked By:
 Blocking:                   |
-----------------------------+------------------------------

Comment (by Sebastian Huber <sebastian.huber@…>):

 In [changeset:"cd5573c09def76d3d202349639da6ba05617b31b/rtems"
 cd5573c/rtems]:
 {{{
 #!CommitTicketReference repository="rtems"
 revision="cd5573c09def76d3d202349639da6ba05617b31b"
 bsps/irq: Add BSP_INTERRUPT_VECTOR_COUNT

 Assert BSP_INTERRUPT_VECTOR_MAX + 1 == BSP_INTERRUPT_VECTOR_COUNT.

 After building all BSPs with this patch, BSP_INTERRUPT_VECTOR_MAX can be
 removed and replaced by BSP_INTERRUPT_VECTOR_COUNT.  The
 BSP_INTERRUPT_VECTOR_COUNT allows a default implementation which supports
 no
 interrupt vector at all.  Using COUNT instead of MAX may avoid some
 interpretation issues, for example is the maximum value a valid vector
 number
 or not.

 Update #3269.
 }}}

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


More information about the bugs mailing list