mirror of
https://gitlab.rtems.org/rtems/rtos/rtems.git
synced 2026-11-16 19:04:53 +08:00
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>