diff options
author | Sebastian Huber <sebastian.huber@embedded-brains.de> | 2023-12-18 12:02:31 +0100 |
---|---|---|
committer | Sebastian Huber <sebastian.huber@embedded-brains.de> | 2023-12-19 08:26:46 +0100 |
commit | 93f927de26d9e5504e548c99533f2de197682a83 (patch) | |
tree | 8d2e2e7ab8cff1b726046000efcb608b67e44b37 /testsuites/validation/tx-support.h | |
parent | tm27: Add optional TM27_INTERRUPT_VECTOR_DEFAULT (diff) | |
download | rtems-93f927de26d9e5504e548c99533f2de197682a83.tar.bz2 |
tm27: Add TM27_INTERRUPT_VECTOR_ALTERNATIVE
The TM27 support may define TM27_INTERRUPT_VECTOR_ALTERNATIVE to provide
an alternative software generated interrupt request which is raised by
_TM27_Raise_alternative() and cleared by _TM27_Clear_alternative().
Both functions shall return an RTEMS status code. This interrupt vector
may be used to test the interrupt controller support on targets which do
not provide generic software generated interrupts.
Update #3716.
Diffstat (limited to '')
-rw-r--r-- | testsuites/validation/tx-support.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/testsuites/validation/tx-support.h b/testsuites/validation/tx-support.h index e83b461e2b..378bc4c466 100644 --- a/testsuites/validation/tx-support.h +++ b/testsuites/validation/tx-support.h @@ -396,6 +396,8 @@ void CallWithinISRClear( void ); rtems_vector_number CallWithinISRGetVector( void ); +rtems_vector_number GetSoftwareInterruptVector( void ); + typedef struct { Thread_queue_Operations tq_ops; const Thread_queue_Operations *wrapped_ops; @@ -437,6 +439,10 @@ rtems_vector_number GetTestableInterruptVector( const rtems_interrupt_attributes *required ); +rtems_status_code RaiseSoftwareInterrupt( rtems_vector_number vector ); + +rtems_status_code ClearSoftwareInterrupt( rtems_vector_number vector ); + bool HasInterruptVectorEntriesInstalled( rtems_vector_number vector ); /** |