Hello,

Thanks for pointing that out.

I added "#include <rtems/irq-extension.h>" in ata.c  so that the generic 
methods could work. Shouldn't including the extensions header solve the problem 
?

I can add ifdefs in the libchip files, like it's already done in ata.c .  But 
for example in dec21140 & other files, when an interrupt is installed, do I 
need to use mthods like rtems_interrupt_catch() for simple vectored 
architectures ?

Regards
Vipul Nayyar 



________________________________
 From: Joel Sherrill <joel.sherr...@oarcorp.com>
To: Sebastian Huber <sebastian.hu...@embedded-brains.de> 
Cc: "rtems-devel@rtems.org" <rtems-devel@rtems.org> 
Sent: Thursday, 1 August 2013 8:34 PM
Subject: Re: [PATCH] Updated legacy code in ata & dec21140
 

On 8/1/2013 9:50 AM, Sebastian Huber wrote:
> Hello Vipul,
>
> the libchip stuff will be compiled for every BSP.  So I think this change will
> only work if every BSP provides the IRQ extensions API.
>
The libchip drivers should have an ifdef for simple vectored
to hide the PIC code.

Compiling it for say an m68k BSP should be a good double check.

FWIW the sparc BSPs are simple vectored but support this
API as well.

-- 
Joel Sherrill, Ph.D.             Director of Research & Development
joel.sherr...@oarcorp.com        On-Line Applications Research
Ask me about RTEMS: a free RTOS  Huntsville AL 35805
Support Available                (256) 722-9985

_______________________________________________
rtems-devel mailing list
rtems-devel@rtems.org
http://www.rtems.org/mailman/listinfo/rtems-devel
_______________________________________________
rtems-devel mailing list
rtems-devel@rtems.org
http://www.rtems.org/mailman/listinfo/rtems-devel

Reply via email to