RTEMS | bsps/leon3: Limit the interrupt map to 32 lines (!1514)
Matteo Concas (@matteo.concas)
gitlab at rtems.org
Mon Sep 28 05:48:12 UTC 2026
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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rtems.org/pipermail/bugs/attachments/20260928/86c40a63/attachment.htm>
More information about the bugs
mailing list