Files
rtems/bsps/microblaze
Sebastian Huber 9361427b18 bsps/microblaze/microblaze_fpga: Add tm27 support
Cause_tm27_intr() was empty, so every test which calls CallWithinISR()
waited forever and five test suites never finished.

The AXI interrupt controller accepts software writes to its status
register only while the hardware interrupt inputs are disabled, which
the clock needs enabled, so the controller cannot raise an interrupt.
Use the second counter of the AXI timer instead.  It shares the
interrupt of the counter used by the clock, so the interrupt is shared
and each handler checks its own interrupt bit.

The dispatch acknowledges the interrupt controller only after the
handler returned, so Lower_tm27_intr() acknowledges by itself to let the
interrupt raised next arrive as a nested interrupt.

Close #5699.

Assisted-by: Claude:claude-opus-5 claude-code
Signed-off-by: Sebastian Huber <sebastian.huber@embedded-brains.de>
2026-08-21 09:01:19 +10:00
..