[RTEMS Project] #3269: Make the IRQ extensions API a standard API (was: Add functions to enable, disable, and clear interrupts to the IRQ extensions API)

RTEMS trac trac at rtems.org
Mon May 13 13:33:51 UTC 2019


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

 * component:  dev => rtems
 * version:   => 5
 * milestone:  Indefinite => 5.1


Old description:



New description:

 The IRQ extensions API defined by <rtems/irq-extensions.h> is currently
 only implemented by some BSPs and not covered by test cases. It is not
 documented in the RTEMS Classic API Guide. Change the BSPs so that every
 BSP implements this API at least as a stub so that we can write tests for
 this API. Specify and document the API.

 Extend the API to enable/disable specific interrupt vectors. The proposed
 functions for this are rtems_interrupt_mask() and
 rtems_interrupt_unmask().

 Extend the API to raise/clear specific interrupt vectors. This allows to
 test specific interrupts. The proposed functions are
 rtems_interrupt_raise() and rtems_interrupt_clear().

 Extend the API to set/get the interrupt vector priority.

 Extend the API to get some information about a particular interrupt
 vector, e.g. if the raise/clear functions work, if it is possible to
 change the priority, etc.

--

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


More information about the bugs mailing list