Help needed for removing legacy code from arm nds BSP

Rempel, Cynthia cynt6007 at vandals.uidaho.edu
Wed Jul 10 19:12:53 UTC 2013


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: rtems-devel-bounces at rtems.org [rtems-devel-bounces at rtems.org] on behalf of Vipul Nayyar [nayyar_vipul at yahoo.com]
Sent: Wednesday, July 10, 2013 11:07 AM
To: rtems-devel at rtems.org
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






More information about the devel mailing list