From c70d768495d40c9852839c42afcf4ecbf41d71e3 Mon Sep 17 00:00:00 2001 From: Sebastian Huber Date: Tue, 19 Dec 2023 08:09:18 +0100 Subject: spec: Support more BSPs in validation test Use the new functions RaiseSoftwareInterrupt() and ClearSoftwareInterrupt() which may use a BSP-specific support for software generated interrupts (see TM27_INTERRUPT_VECTOR_ALTERNATIVE). --- spec/rtems/intr/req/entry-install.yml | 9 +++------ 1 file changed, 3 insertions(+), 6 deletions(-) diff --git a/spec/rtems/intr/req/entry-install.yml b/spec/rtems/intr/req/entry-install.yml index c5639387..612f6a13 100644 --- a/spec/rtems/intr/req/entry-install.yml +++ b/spec/rtems/intr/req/entry-install.yml @@ -603,11 +603,8 @@ test-support: | ctx->handler_counter = counter; - if ( - ctx->attributes.can_clear && - !ctx->attributes.cleared_by_acknowledge - ) { - sc = rtems_interrupt_clear( ctx->test_vector ); + if ( !ctx->attributes.cleared_by_acknowledge ) { + sc = ClearSoftwareInterrupt( ctx->test_vector ); T_rsc_success( sc ); } @@ -716,7 +713,7 @@ test-support: | T_rsc_success( sc ); if ( ctx->status == RTEMS_SUCCESSFUL ) { - sc = rtems_interrupt_raise( ctx->test_vector ); + sc = RaiseSoftwareInterrupt( ctx->test_vector ); T_rsc_success( sc ); } } -- cgit v1.2.3