#3269 assigned enhancement

Make the IRQ extensions API a standard API

Reported by: Sebastian Huber Owned by: Sebastian Huber
Priority: normal Milestone: 5.1
Component: rtems Version: 5
Severity: normal Keywords:
Cc: Blocked By:
Blocking:

Description (last modified by Sebastian Huber)

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.

Change History (3)

comment:1 Changed on Jan 4, 2018 at 6:20:36 AM by Sebastian Huber <sebastian.huber@…>

In 569fd50/rtems:

sparc: Remove BSP specifics from <pci/irq.h>

Update #3254.
Update #3260.
Update #3269.

comment:2 Changed on May 13, 2019 at 1:33:51 PM by Sebastian Huber

Component: devrtems
Description: modified (diff)
Milestone: Indefinite5.1
Summary: Add functions to enable, disable, and clear interrupts to the IRQ extensions APIMake the IRQ extensions API a standard API
Version: 5

comment:3 Changed on May 16, 2019 at 7:59:21 AM by Sebastian Huber <sebastian.huber@…>

In 45d0659/rtems:

bsps: Always build generic interrupt support

This makes it possible to write tests for the generic interrupt
controller support.

Update #3269.

Note: See TracTickets for help on using tickets.