source:
rtems/testsuites/sptests/sp17/system.h
@
8fbdf07
Last change on this file since 8fbdf07 was 08311cc3, checked in by Joel Sherrill <joel.sherrill@…>, on 11/17/99 at 17:51:34 | |
---|---|
|
|
File size: 1.2 KB |
Rev | Line | |
---|---|---|
[ac7d5ef0] | 1 | /* system.h |
2 | * | |
3 | * This include file contains information that is included in every | |
4 | * function in the test set. | |
5 | * | |
[08311cc3] | 6 | * COPYRIGHT (c) 1989-1999. |
[ac7d5ef0] | 7 | * On-Line Applications Research Corporation (OAR). |
8 | * | |
[98e4ebf5] | 9 | * The license and distribution terms for this file may be |
10 | * found in the file LICENSE in this distribution or at | |
[03f2154e] | 11 | * http://www.OARcorp.com/rtems/license.html. |
[ac7d5ef0] | 12 | * |
[3235ad9] | 13 | * $Id$ |
[ac7d5ef0] | 14 | */ |
15 | ||
[4b374f36] | 16 | #include <tmacros.h> |
[ac7d5ef0] | 17 | |
[3a4ae6c] | 18 | /* functions */ |
[ac7d5ef0] | 19 | |
[3a4ae6c] | 20 | rtems_task Init( |
21 | rtems_task_argument argument | |
22 | ); | |
23 | ||
24 | rtems_asr Process_asr( | |
25 | rtems_signal_set signal_set | |
26 | ); | |
27 | ||
28 | rtems_task Task_1( | |
29 | rtems_task_argument argument | |
30 | ); | |
31 | ||
32 | rtems_task Task_2( | |
33 | rtems_task_argument argument | |
34 | ); | |
[ac7d5ef0] | 35 | |
[3a4ae6c] | 36 | /* configuration information */ |
[ac7d5ef0] | 37 | |
[3a4ae6c] | 38 | #define CONFIGURE_SPTEST |
[ac7d5ef0] | 39 | |
[3a4ae6c] | 40 | #define CONFIGURE_TEST_NEEDS_CONSOLE_DRIVER |
41 | #define CONFIGURE_TEST_NEEDS_CLOCK_DRIVER | |
42 | ||
43 | #define CONFIGURE_MICROSECONDS_PER_TICK RTEMS_MILLISECONDS_TO_MICROSECONDS(25) | |
44 | #define CONFIGURE_TICKS_PER_TIMESLICE 1000 | |
45 | ||
[be1c11ed] | 46 | #define CONFIGURE_RTEMS_INIT_TASKS_TABLE |
47 | ||
[3a4ae6c] | 48 | #include <confdefs.h> |
49 | ||
50 | /* global variables */ | |
51 | ||
52 | TEST_EXTERN rtems_id Task_id[ 4 ]; /* array of task ids */ | |
53 | TEST_EXTERN rtems_name Task_name[ 4 ]; /* array of task names */ | |
54 | ||
55 | TEST_EXTERN rtems_unsigned32 Task_2_preempted; | |
[ac7d5ef0] | 56 | |
57 | /* end of include file */ |
Note: See TracBrowser
for help on using the repository browser.