RTEMS | MicroBlaze interrupts cleanup before enabling MER (!845)

Sam Price (@TheSamPrice) gitlab at rtems.org
Mon Nov 24 04:37:10 UTC 2025



Sam Price created a merge request: https://gitlab.rtems.org/rtems/rtos/rtems/-/merge_requests/845

Project:Branches: TheSamPrice/rtems:feature/microblaze-irq-handler to rtems/rtos/rtems:main
Author:   Sam Price




## Summary

This could use some very careful review.

We have been running with the following

```
	/* Subtract stack frame */
	addik r1, r1, -(CPU_INTERRUPT_FRAME_SIZE)

	swi r5, r1, 8

	/* Indicate unknown interrupt source */
        /* GSFC: Switch addi -> addik to not corrupt msr. */
	addik r5, r0, 0xFF

	braid _ISR_Handler

```

Going to follow up with some more comments on this one.

<!-- 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/845
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/20251124/973aca4f/attachment-0001.htm>


More information about the bugs mailing list