[PATCH] validation: Fix CallWithinISR()

Gedare Bloom gedare at rtems.org
Wed Jun 8 15:40:15 UTC 2022


Hm. This looks ok, but it also seems to be a bit of an awkward
requirement. Is this only relevant for the tm27 test?

On Tue, Jun 7, 2022 at 8:01 AM Sebastian Huber
<sebastian.huber at embedded-brains.de> wrote:
>
> 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
>
> _______________________________________________
> devel mailing list
> devel at rtems.org
> http://lists.rtems.org/mailman/listinfo/devel


More information about the devel mailing list