RTEMS | Draft: bsps/leon3: Limit the interrupt map to 32 lines (!1514)

Matteo Concas (@matteo.concas) gitlab at rtems.org
Mon Sep 28 13:53:27 UTC 2026




Matteo Concas commented on a discussion: https://gitlab.rtems.org/rtems/rtos/rtems/-/merge_requests/1514#note_160113


Then all interrupt functions would only act on interrupt line 1. This is means disabling interrupt 5 would also disable interrupt 1 etc.

This gets a bit confusing for users (although they should know they have this map already) when calls to `rtems_interrupt_entry_install()` for different interrupt lines will fail if you don't use `RTEMS_INTERRUPT_SHARED`. For example:

```c
status = rtems_interrupt_entry_install(1, RTEMS_INTERRUPT_UNIQUE, isr1);
// status = RTEMS_SUCCESSFUL

status = rtems_interrupt_entry_install(5, RTEMS_INTERRUPT_UNIQUE, isr5);
// status = RTEMS_RESOURCE_IN_USE
```

(I haven't played with this functionality in a bit but this is what I remember)

-- 
View it on GitLab: https://gitlab.rtems.org/rtems/rtos/rtems/-/merge_requests/1514#note_160113
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-5xj8zp3413luuhzf7rcmeq4ev-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/2e80a9aa/attachment.htm>


More information about the bugs mailing list