diff options
author | Joel Sherrill <joel.sherrill@OARcorp.com> | 2009-07-20 14:48:14 +0000 |
---|---|---|
committer | Joel Sherrill <joel.sherrill@OARcorp.com> | 2009-07-20 14:48:14 +0000 |
commit | 260e09260a8bf7c5a8451892039beeab688586b7 (patch) | |
tree | ea99b02272dcec0ead35c7a2baa14197be65b58a /testsuites/sptests/spintrcritical_support/intrcritical.h | |
parent | add missing i2c.c file (diff) | |
download | rtems-260e09260a8bf7c5a8451892039beeab688586b7.tar.bz2 |
2009-07-20 Joel Sherrill <joel.sherrill@OARcorp.com>
* spintrcritical_support/intrcritical.c,
spintrcritical_support/intrcritical.h: Change prototype of delay
method to indicate when counter is reset. This can be used to count
how many iterations we are doing.
Diffstat (limited to 'testsuites/sptests/spintrcritical_support/intrcritical.h')
-rw-r--r-- | testsuites/sptests/spintrcritical_support/intrcritical.h | 11 |
1 files changed, 10 insertions, 1 deletions
diff --git a/testsuites/sptests/spintrcritical_support/intrcritical.h b/testsuites/sptests/spintrcritical_support/intrcritical.h index 4b523a656d..fb0f2ed26f 100644 --- a/testsuites/sptests/spintrcritical_support/intrcritical.h +++ b/testsuites/sptests/spintrcritical_support/intrcritical.h @@ -21,6 +21,15 @@ void interrupt_critical_section_test_support_initialize( rtems_timer_service_routine (*tsr)( rtems_id, void * ) ); -void interrupt_critical_section_test_support_delay(void); +/** + * @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); + #endif |