[PATCH] validation: Fix CallWithinISR()

Sebastian Huber sebastian.huber at embedded-brains.de
Tue Jun 7 14:01:43 UTC 2022


Some BSPs require that Clear_tm27_intr() is called in the interrupt
service routine.

Update #3269.
---
 testsuites/validation/tx-call-within-isr.c | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/testsuites/validation/tx-call-within-isr.c b/testsuites/validation/tx-call-within-isr.c
index 226647c0bc..3b5d1e139d 100644
--- a/testsuites/validation/tx-call-within-isr.c
+++ b/testsuites/validation/tx-call-within-isr.c
@@ -71,6 +71,8 @@ static void CallWithinISRHandler( rtems_vector_number vector )
   (void) vector;
   ctx = &CallWithinISRInstance;
 
+  Clear_tm27_intr();
+
   while ( true ) {
     rtems_interrupt_lock_context lock_context;
     CallWithinISRRequest        *request;
-- 
2.35.3



More information about the devel mailing list