ISR install

Fered a_Fered at yahoo.com
Wed Jun 6 05:53:42 UTC 2012


Are you sure, i386 provides  rtems_interrupt_handler_install() ? (I'm 
investigating 4.10.2 source code)
The only function I found, is _CPU_ISR_install_vector() in the following file:
cpukit/score/cpu/i386/rtems/score/cpu.h
line 540
that is defiend as follow:
#define _ISR_Install_vector( _vector, _new_handler, _old_handler ) \
  _CPU_ISR_install_vector( _vector, _new_handler, _old_handler )
in
cpukit/score/include/rtems/score/isr.h
and usage of this function is in rtems_interrupt_catch().

Thanks.

Sebastian Huber wrote:
> On 06/05/2012 09:09 AM, Fered wrote:
> > Hi;
> > 
> > We have two functions for installing ISR:
> > 1- bsp_interrupt_handler_install
> 
> The function is rtems_interrupt_handler_install():
> 
> http://www.rtems.org/onlinedocs/doxygen/cpukit/html/group__rtems__interrupt_
> _extension.html
> > 2- rtems_interrupt_catch
> > 
> > what's difference of these functions?
> 
> The availability depends on the architecture/BSP.  PowerPC, ARM, MIPS, and
> i386 provide the rtems_interrupt_handler_install() API for example.
> 
> --
> Sebastian Huber, embedded brains GmbH
> 
> Address : Obere Lagerstr. 30, D-82178 Puchheim, Germany
> Phone   : +49 89 18 90 80 79-6
> Fax     : +49 89 18 90 80 79-9
> E-Mail  : sebastian.huber at embedded-brains.de
> PGP     : Public key available on request.
> 
> Diese Nachricht ist keine geschäftliche Mitteilung im Sinne des EHUG.
> _______________________________________________
> rtems-devel mailing list
> rtems-devel at rtems.org
> http://www.rtems.org/mailman/listinfo/rtems-devel




More information about the devel mailing list