diff options
author | Sebastian Huber <sebastian.huber@embedded-brains.de> | 2020-07-21 08:45:03 +0200 |
---|---|---|
committer | Sebastian Huber <sebastian.huber@embedded-brains.de> | 2020-07-23 09:27:48 +0200 |
commit | b2ff5fe31037797d337b9cf72d07d3e706c2b2d7 (patch) | |
tree | 16d20924921d0ab135038118ef5aa2bfe0870b95 /testsuites/sptests/spintrcritical_support/intrcritical.h | |
parent | spintrcritical24: Use T_interrupt_test() (diff) | |
download | rtems-b2ff5fe31037797d337b9cf72d07d3e706c2b2d7.tar.bz2 |
spintrcritical_support: Remove
This test support was replaced by T_interrupt_test() is no longer used.
Diffstat (limited to '')
-rw-r--r-- | testsuites/sptests/spintrcritical_support/intrcritical.h | 52 |
1 files changed, 0 insertions, 52 deletions
diff --git a/testsuites/sptests/spintrcritical_support/intrcritical.h b/testsuites/sptests/spintrcritical_support/intrcritical.h deleted file mode 100644 index aca1ee0f2c..0000000000 --- a/testsuites/sptests/spintrcritical_support/intrcritical.h +++ /dev/null @@ -1,52 +0,0 @@ -/* - * COPYRIGHT (c) 1989-2009. - * On-Line Applications Research Corporation (OAR). - * - * The license and distribution terms for this file may be - * found in the file LICENSE in this distribution or at - * http://www.rtems.org/license/LICENSE. - */ - -#ifndef __INTERRUPT_CRITICAL_SECTIONS_TEST_SUPPORT_h -#define __INTERRUPT_CRITICAL_SECTIONS_TEST_SUPPORT_h - -/** - * @brief Initialize Test Support - * - * @param[in] tsr is the optional timer service routine to fire - */ -void interrupt_critical_section_test_support_initialize( - rtems_timer_service_routine_entry tsr -); - -/** - * @brief Delay Test Support - * - * This method delays a varying amount of time each call. - * - * @return This method returns true each time the delay counter has - * to be reset. - */ -bool interrupt_critical_section_test_support_delay(void); - -/** - * @brief Interrupt critical section test. - * - * This function first estimates the test body duration and then repeatedly - * calls the test body with varying times to the next clock tick interrupt. - * - * @param[in] test_body The test body function. In case the test body returns - * true, then the test iteration stops. - * @param[in] test_body_arg The argument for the test body function. - * @param[in] tsr An optional timer service routine. - * - * @return The test body return status. - */ -bool interrupt_critical_section_test( - bool ( *test_body )( void * ), - void *test_body_arg, - rtems_timer_service_routine_entry tsr -); - -#endif - |