On 07/09/2013 04:52 PM, Vipul Nayyar wrote:
Some points on which I needed clarification :
1) I've used rtems_irq_hdl to pass handle to ne_interrupt_on() function. Is
that correct or should I use some other data type.

This type belongs to the legacy API.  Simply use void *.

2) Functions like ne_interrupt_off() & ne_interrupt_is_on() are not used
anywhere, but still I didn't get any warnings. Should I remove them ?

If you replace the BSP_install_rtems_irq_handler(), then you have to add the on handler after the rtems_interrupt_handler_install().

If you replace the BSP_remove_rtems_irq_handler, then you have to add the off handler before the rtems_interrupt_handler_remove().

--
Sebastian Huber, embedded brains GmbH

Address : Dornierstr. 4, D-82178 Puchheim, Germany
Phone   : +49 89 189 47 41-16
Fax     : +49 89 189 47 41-09
E-Mail  : [email protected]
PGP     : Public key available on request.

Diese Nachricht ist keine geschäftliche Mitteilung im Sinne des EHUG.
_______________________________________________
rtems-devel mailing list
[email protected]
http://www.rtems.org/mailman/listinfo/rtems-devel

Reply via email to