HW interrupts in pc386

Valette Eric eric.valette at free.fr
Sat Mar 22 14:40:08 UTC 2003


Jose Alves wrote:
> Can I catch the hardware interrupts with the rtems_interrupt_catch() 
> directive in the pc386 bsp?
>  
> 
> rtems_status_code rtems_interrupt_catch(
>   rtems_isr_entry      new_isr_handler,
>   rtems_vector_number  vector,
>   rtems_isr_entry     *old_isr_handler
> );
> 
> If yes, how to determine the value that has to be used for the 
> vector number parameter?
> (Didn't found any information in the "Applications Supplement" for the 
> i386 bsp )
>  
> Thanks

Read irq.h for vector definition. BTW, this interface is not the 
preferred one and is there only for compatibility reasons...

-- 
    __
   /  `                   	Eric Valette
  /--   __  o _.          	6 rue Paul Le Flem
(___, / (_(_(__         	35740 Pace

Tel: +33 (0)2 99 85 26 76	Fax: +33 (0)2 99 85 26 76
E-mail: eric.valette at free.fr









More information about the users mailing list