RTEMS Traps and Interrupts

Gedare Bloom gedare at gwu.edu
Wed Nov 11 01:02:12 UTC 2009


On Tue, Nov 10, 2009 at 4:34 PM, Jamie Bowman
<jamie.bowman at steepestascent.com> wrote:
> All
>
>
>
> We have been developing a system based on the SPARC Leon 2 processor using
> RTEMS 4.8. We have successfully used the RTEMS call rtems_interrupt_catch to
> register interrupt handlers for a number of the 15 interrupt lines on the
> SPARC Leon 2 processor. On the SPARC Leon2 processor, interrupts are
> referred to as Asynchronous Traps with interrupts 1-15 being equivalent to
> traps 0x11–0x1F.
>
>
>
> What we would like to do now is to catch a number of the lower level
> processor Synchronous Traps, for example the trap associated with detecting
> an uncorrectable EDAC error when reading Data from SDRAM.
>
>
>
> Is there support within RTEMS to register such a trap handler?
>
>
I think it should work to install an interrupt handler as (trapnum +
256).  RTEMS will install the handler in such a way that the
ISR_Handler routine will fudge the return program counter to act as a
synchronous trap.

-Gedare

>
>
>
> Thank you for in advance for your assistance.
>
>
>
>             Jamie
>
> _______________________________________________
> rtems-users mailing list
> rtems-users at rtems.org
> http://www.rtems.org/mailman/listinfo/rtems-users
>
>



More information about the users mailing list