Matteo Concas started a new discussion on bsps/sparc/leon3/start/eirq.c: 
https://gitlab.rtems.org/rtems/rtos/rtems/-/merge_requests/1514#note_160071

 >    irqamp                      *regs;
 >  
 >  #ifdef LEON3_IRQAMP_IRQMAP
 > -  rtems_vector_number irq_vector;
 > -
 > -  if ( leon3_irqmap_get( vector, &irq_vector ) != RTEMS_SUCCESSFUL ) {
 > -    return RTEMS_UNSATISFIED;
 > -  }
 > -
 > -  vector = irq_vector;
 > +  vector = leon3_irqmap_get_unchecked( vector );

It would be good to add `bsp_interrupt_assert( bsp_interrupt_is_valid_vector( 
vector ) );` to keep it consistent with the other functions in the file.

-- 
View it on GitLab: 
https://gitlab.rtems.org/rtems/rtos/rtems/-/merge_requests/1514#note_160071
You're receiving this email because of your account on gitlab.rtems.org. 
Unsubscribe from this thread: 
https://gitlab.rtems.org/-/namespace/49/sent_notifications/5-6cse5u703coch04ddxysd44zk-1d/unsubscribe
 | Manage all notifications: https://gitlab.rtems.org/-/profile/notifications | 
Help: https://gitlab.rtems.org/help


_______________________________________________
bugs mailing list
[email protected]
http://lists.rtems.org/mailman/listinfo/bugs

Reply via email to