Valid interrupt vectors and the interrupt server

Chris Johns chrisj at rtems.org
Sun Jun 18 02:31:22 UTC 2017


On 18/6/17 2:17 am, Christian Mauderer wrote:
> Hello,
> 
> I had a problem recently, that the interrupt server (for example used in libbsd) caused some odd behaviour on an ARM Cortex BSP. That was solved by the following patch:
> 
> https://git.rtems.org/rtems/commit/?id=ce3ac00c
> 
> Just today Sichen Zhao had a similar problem on the BBB:
> 
> https://lists.rtems.org/pipermail/devel/2017-June/018158.html
> 
> I took a look and it seems that there are a lot of BSPs which don't check for the valid interrupt vector range in their bsp_interrupt_vector_disable/enable functions. Every one of them will most likely have a problems if someone tries to use libbsd or the interrupt server.

I seem to be missing something. Is the interrupt server and libbsd attempting to
use interrupts that are no valid for these board and this is causing a problem?

Chris


More information about the devel mailing list