BSP_install_rtems_irq_handler API

Till Straumann strauman at SLAC.Stanford.EDU
Thu Jan 3 18:55:35 UTC 2002


Hi all.

I realize that more and more BSPs are migrating to the
new interrupt management API. Has the design
of this new API (which IMHO is rather clumsy) ever
been thoroughly discussed?

I believe that it is a major design flaw not to pass
the ISR any information (user pointer or at least the
vector number). Without ugly hacks, it is impossible
for a driver to support multiple instances of a device
or for BSPs to support interrupt sharing.

What was the reason for making ISRs

typedef void (*rtems_irq_hdl)           (void);

and is there still a chance to change this API??

Regards

-- Till.



More information about the users mailing list