Re: rtems_interrupt_catch()

2020-06-25 Thread Joel Sherrill
On Thu, Jun 25, 2020, 12:38 AM Sebastian Huber < sebastian.hu...@embedded-brains.de> wrote: > On 25/06/2020 01:36, Chris Johns wrote: > > > On 24/6/20 2:40 am, Sebastian Huber wrote: > >> Hello, > >> > >> I noticed that the rtems_interrupt_catch() di

Re: rtems_interrupt_catch()

2020-06-24 Thread Sebastian Huber
On 25/06/2020 01:36, Chris Johns wrote: On 24/6/20 2:40 am, Sebastian Huber wrote: Hello, I noticed that the rtems_interrupt_catch() directive is only declared and implemented if CPU_SIMPLE_VECTORED_INTERRUPTS == TRUE: #if (CPU_SIMPLE_VECTORED_INTERRUPTS == FALSE) typedef

Re: rtems_interrupt_catch()

2020-06-24 Thread Chris Johns
On 24/6/20 2:40 am, Sebastian Huber wrote: Hello, I noticed that the rtems_interrupt_catch() directive is only declared and implemented if CPU_SIMPLE_VECTORED_INTERRUPTS == TRUE: #if (CPU_SIMPLE_VECTORED_INTERRUPTS == FALSE) typedef ISR_Handler_entry rtems_isr_entry; #else /**  *  @brief

rtems_interrupt_catch()

2020-06-23 Thread Sebastian Huber
Hello, I noticed that the rtems_interrupt_catch() directive is only declared and implemented if CPU_SIMPLE_VECTORED_INTERRUPTS == TRUE: #if (CPU_SIMPLE_VECTORED_INTERRUPTS == FALSE) typedef ISR_Handler_entry rtems_isr_entry; #else /**  *  @brief Interrupt handler type.  *  *  @see

[PATCH 02/19] rtems: Simplify rtems_interrupt_catch()

2018-11-09 Thread Sebastian Huber
use interrupt service routine and false otherwise. - */ - -RTEMS_INLINE_ROUTINE bool _ISR_Is_valid_user_handler ( - void *handler -) -{ - return (handler != NULL); -} - rtems_status_code rtems_interrupt_catch( rtems_isr_entry new_isr_handler, rtems_vector_number vector, rt

[PATCH 2/3] rtems: Simplify rtems_interrupt_catch()

2018-11-08 Thread Sebastian Huber
use interrupt service routine and false otherwise. - */ - -RTEMS_INLINE_ROUTINE bool _ISR_Is_valid_user_handler ( - void *handler -) -{ - return (handler != NULL); -} - rtems_status_code rtems_interrupt_catch( rtems_isr_entry new_isr_handler, rtems_vector_number vector, rt