RTEMS | cpukit/score/cpu/or1k/*: Move _CPU_ISR_install_vector() to cpu.c (!609)

Joel Sherrill (@joel) gitlab at rtems.org
Thu Jul 17 21:58:06 UTC 2025



Joel Sherrill created a merge request: https://gitlab.rtems.org/rtems/rtos/rtems/-/merge_requests/609

Project:Branches: joel/rtems:or1k-move-cpu-isr-install-vector to rtems/rtos/rtems:main
Author:   Joel Sherrill




## Summary

cpukit/score/cpu/or1k/*: Move _CPU_ISR_install_vector() to cpu.c

This function was static inline which means that it must compile
cleanly for all versions of C and C++. Newer C standards make it
an error to cast between incompatible function types. Moving this
function to cpu.c from cpu.h allows the C standard version required
to be narrowed from "whatever the user wants" to the one version
that is used to compile RTEMS.


<!-- Default settings, if it is a dropdown it will set after submission -->

-- 
View it on GitLab: https://gitlab.rtems.org/rtems/rtos/rtems/-/merge_requests/609
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/20250717/f8a3fc05/attachment.htm>


More information about the bugs mailing list