RTEMS | Draft: sparc/erc32: removed uses, prototype and implementation of set_vector() (!447)
Gedare Bloom (@gedare)
gitlab at rtems.org
Wed Mar 12 18:02:26 UTC 2025
Gedare Bloom started a new discussion on bsps/sparc/erc32/console/erc32_console.c: https://gitlab.rtems.org/rtems/rtos/rtems/-/merge_requests/447#note_120807
> * Initialize Hardware
> */
> #if (CONSOLE_USE_INTERRUPTS)
> - set_vector(erc32_console_isr_a, CONSOLE_UART_A_TRAP, 1);
> - set_vector(erc32_console_isr_b, CONSOLE_UART_B_TRAP, 1);
> - set_vector(erc32_console_isr_error, CONSOLE_UART_ERROR_TRAP, 1);
> + rtems_isr_entry previous_isr_a;
> + rtems_isr_entry previous_isr_b;
> + rtems_isr_entry previous_isr_error;
> +
> + rtems_interrupt_catch(erc32_console_isr_a, CONSOLE_UART_A_TRAP, &previous_isr_a);
Line length looks too long. Should be 80c or less. You might also get some hints by looking at the format pipeline artifacts. The format checker and reformatting tool isn't quite ready for production and general use.
--
View it on GitLab: https://gitlab.rtems.org/rtems/rtos/rtems/-/merge_requests/447#note_120807
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/20250312/74bf3d32/attachment-0001.htm>
More information about the bugs
mailing list