LEON3 with shared interrupt handlers
claudiodcsilva at gmail.com
Thu Oct 10 07:30:45 UTC 2013
Hi Scott ,
I think that the simpler approach is for you to create an handler for
interrupt 12 that de-multiplexes interrupts based on the extended interrupt
register of the irqmp.
I don't know if Gaisler's RTEMS already provides such a de-multiplexer.
Probably the spacewire interrupt handler will be the one returned from
rtems_interrupt_catch, as old handler, when you register the new interrupt.
Hence you just need to see if the extended interrupt is for you and based
on that condition you call your handler or the old handler.
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the users