LEON3 with shared interrupt handlers
Cláudio Silva
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.
Best Regards,
Cláudio Silva
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rtems.org/pipermail/users/attachments/20131010/9beb0ead/attachment-0001.html>
More information about the users
mailing list