Hi Vipul Nayyar,

Wow, you're really helping out by simplifying the code :)

According to 
http://git.rtems.org/rtems/tree/c/src/lib/libbsp/shared/include/irq-generic.h 
lines 126-133, the functions you stated are part of the legacy API...

Could you apply the same method to them as the other functions in the legacy 
API?

Thanks!
Cindy
________________________________________
From: [email protected] [[email protected]] on behalf 
of Vipul Nayyar [[email protected]]
Sent: Wednesday, July 10, 2013 11:07 AM
To: [email protected]
Subject: Help needed for removing legacy code from arm nds BSP

Hello,

I'm currently working on removing legacy code from arm nds BSP. This BSP uses 
legacy methods BSP_get_current_rtems_irq_handler() , 
BSP_install_rtems_irq_handler() & BSP_remove_rtems_irq_handler(). But these 
methods are not from legacy API, they're custom functions defined in 
nds/irq/irq.c . How should I move forward with this ?

As Sebastian said, I should remove all uses of rtems_irq_connect_data type. I 
can do that by modifying the type & number of parameters passed to these above 
functions. But will that be enough ? Should I change the function names ? Will 
using methods like rtems_interrupt_handler_install() be appropriate for this 
BSP? If yes, then how ?

Regards
Vipul Nayyar



_______________________________________________
rtems-devel mailing list
[email protected]
http://www.rtems.org/mailman/listinfo/rtems-devel

Reply via email to