RTEMS | Draft: sparc/erc32: removed uses, prototype and implementation of set_vector() (!447)
Joel Sherrill (@joel)
gitlab at rtems.org
Thu May 8 18:09:35 UTC 2025
Joel Sherrill started a new discussion on bsps/sparc/erc32/start/erc32trap.c: https://gitlab.rtems.org/rtems/rtos/rtems/-/merge_requests/447#note_122415
> +*
> +* This file contains the trap handler for the ERC32.
> +*
> +* INPUT PARAMETERS:
> +* vector - vector number
> +*
> +* OUTPUT PARAMETERS:
> +* none
> +*
> +* RETURN VALUE:
> +* none
> +*/
> +
> +#include <bsp.h>
> +
> +void ERC32_trap_handler(rtems_vector_number vector)
The name implies it processes a trap. Instead it unmasks the source. There is already an ERC32_Unmask_interrupt(). Perhaps something like ERC32_Enable_interrupt()?
@gedare Any thoughts on a better name?
--
View it on GitLab: https://gitlab.rtems.org/rtems/rtos/rtems/-/merge_requests/447#note_122415
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/1e1314d7/attachment.htm>
More information about the bugs
mailing list