[rtems commit] validation: Fix CallWithinISR()
Sebastian Huber
sebh at rtems.org
Wed Jun 8 08:20:05 UTC 2022
Module: rtems
Branch: master
Commit: 9a69e430832ba704bf534ea48bc2a4938c53bced
Changeset: http://git.rtems.org/rtems/commit/?id=9a69e430832ba704bf534ea48bc2a4938c53bced
Author: Sebastian Huber <sebastian.huber at embedded-brains.de>
Date: Tue Jun 7 15:40:07 2022 +0200
validation: Fix CallWithinISR()
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;
More information about the vc
mailing list