RTEMS | Draft: sparc/erc32: removed uses, prototype and implementation of set_vector() (!447)
Joel Sherrill (@joel)
gitlab at rtems.org
Thu May 8 18:17:20 UTC 2025
Joel Sherrill started a new discussion on bsps/sparc/shared/gnatcommon.c: https://gitlab.rtems.org/rtems/rtos/rtems/-/merge_requests/447#note_122418
> rtems_interrupt_catch (__gnat_interrupt_handler, trap, &previous_isr);
> }
> else if ((trap != 5 && trap != 6) && ((trap < 0x70) || (trap > 0x83)))
> - set_vector (__gnat_exception_handler, SPARC_SYNCHRONOUS_TRAP (trap), 1);
> + rtems_interrupt_catch (__gnat_exception_handler, SPARC_SYNCHRONOUS_TRAP (trap), &previous_isr);
The indentation on the left seems to not be right. Also likely the line is too long. Split the call into multiple lines and put {} on the else to make sure there isn't any confusion.
--
View it on GitLab: https://gitlab.rtems.org/rtems/rtos/rtems/-/merge_requests/447#note_122418
You're receiving this email because of your account on gitlab.rtems.org.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rtems.org/pipermail/bugs/attachments/20250508/73e8b365/attachment.htm>
More information about the bugs
mailing list