diff options
author | Sebastian Huber <sebastian.huber@embedded-brains.de> | 2023-12-19 08:09:18 +0100 |
---|---|---|
committer | Sebastian Huber <sebastian.huber@embedded-brains.de> | 2023-12-19 08:27:56 +0100 |
commit | c70d768495d40c9852839c42afcf4ecbf41d71e3 (patch) | |
tree | 0a5a088e6f0b1b74f8a27fb801e70d89a6dbf184 | |
parent | spec: Add JFFS2 delayed write task priority (diff) | |
download | rtems-central-c70d768495d40c9852839c42afcf4ecbf41d71e3.tar.bz2 |
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).
-rw-r--r-- | spec/rtems/intr/req/entry-install.yml | 9 |
1 files 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 ); } } |