4.104.115
Last change
on this file since 260e0926 was
260e0926,
checked in by Joel Sherrill <joel.sherrill@…>, on 07/20/09 at 14:48:14
|
2009-07-20 Joel Sherrill <joel.sherrill@…>
- 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.
|
-
Property mode set to
100644
|
File size:
864 bytes
|
Line | |
---|
1 | /* |
---|
2 | * COPYRIGHT (c) 1989-2009. |
---|
3 | * On-Line Applications Research Corporation (OAR). |
---|
4 | * |
---|
5 | * The license and distribution terms for this file may be |
---|
6 | * found in the file LICENSE in this distribution or at |
---|
7 | * http://www.rtems.com/license/LICENSE. |
---|
8 | * |
---|
9 | * $Id$ |
---|
10 | */ |
---|
11 | |
---|
12 | #ifndef __INTERRUPT_CRITICAL_SECTIONS_TEST_SUPPORT_h |
---|
13 | #define __INTERRUPT_CRITICAL_SECTIONS_TEST_SUPPORT_h |
---|
14 | |
---|
15 | /** |
---|
16 | * @brief Initialize Test Support |
---|
17 | * |
---|
18 | * @param[in] tsr is the optional timer service routine to fire |
---|
19 | */ |
---|
20 | void interrupt_critical_section_test_support_initialize( |
---|
21 | rtems_timer_service_routine (*tsr)( rtems_id, void * ) |
---|
22 | ); |
---|
23 | |
---|
24 | /** |
---|
25 | * @brief Delay Test Support |
---|
26 | * |
---|
27 | * This method delays a varying amount of time each call. |
---|
28 | * |
---|
29 | * @return This method returns true each time the delay counter has |
---|
30 | * to be reset. |
---|
31 | */ |
---|
32 | bool interrupt_critical_section_test_support_delay(void); |
---|
33 | |
---|
34 | #endif |
---|
35 | |
---|
Note: See
TracBrowser
for help on using the repository browser.