RTEMS | Draft: sparc/erc32: removed uses, prototype and implementation of set_vector() (!447)
Joel Sherrill (@joel)
gitlab at rtems.org
Wed May 21 16:15:19 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_122727
> + * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
> + * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
> + * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
> + * POSSIBILITY OF SUCH DAMAGE.
> + */
> +
> +#include <bsp.h>
> +
> +void ERC32_Clear_and_unmask_interrupt(rtems_vector_number vector)
> +{
> + if (SPARC_IS_INTERRUPT_TRAP(vector)) {
> + uint32_t source = SPARC_INTERRUPT_TRAP_TO_SOURCE(vector);
> + ERC32_Clear_interrupt(source);
> + ERC32_Unmask_interrupt(source);
> + }
> +}
Needs a newline at the bottom of the file.
--
View it on GitLab: https://gitlab.rtems.org/rtems/rtos/rtems/-/merge_requests/447#note_122727
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/20250521/905d3281/attachment-0001.htm>
More information about the bugs
mailing list