[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

BSP_install_rtems_irq_handler API



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.