source:
rtems/c/src/tests/sptests/sp13/system.h
@
328aa64c
Last change on this file since 328aa64c was 328aa64c, checked in by Joel Sherrill <joel.sherrill@…>, on 11/01/99 at 20:11:24 | |
---|---|
|
|
File size: 1.5 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 | * | |
[60b791ad] | 6 | * COPYRIGHT (c) 1989-1998. |
[ac7d5ef0] | 7 | * On-Line Applications Research Corporation (OAR). |
[03f2154e] | 8 | * Copyright assigned to U.S. Government, 1994. |
[ac7d5ef0] | 9 | * |
[98e4ebf5] | 10 | * The license and distribution terms for this file may be |
11 | * found in the file LICENSE in this distribution or at | |
[03f2154e] | 12 | * http://www.OARcorp.com/rtems/license.html. |
[ac7d5ef0] | 13 | * |
[3235ad9] | 14 | * $Id$ |
[ac7d5ef0] | 15 | */ |
16 | ||
[4b374f36] | 17 | #include <tmacros.h> |
[ac7d5ef0] | 18 | |
[3a4ae6c] | 19 | /* functions */ |
[ac7d5ef0] | 20 | |
[3a4ae6c] | 21 | rtems_task Init( |
22 | rtems_task_argument argument | |
23 | ); | |
24 | ||
25 | void Fill_buffer( | |
26 | char source[], | |
27 | long *buffer | |
28 | ); | |
29 | ||
30 | void Put_buffer( | |
31 | long *buffer | |
32 | ); | |
33 | ||
34 | rtems_task Task_1( | |
35 | rtems_task_argument argument | |
36 | ); | |
37 | ||
38 | rtems_task Task_2( | |
39 | rtems_task_argument argument | |
40 | ); | |
41 | ||
42 | rtems_task Task_3( | |
43 | rtems_task_argument argument | |
44 | ); | |
[ac7d5ef0] | 45 | |
[3a4ae6c] | 46 | /* configuration information */ |
[ac7d5ef0] | 47 | |
[3a4ae6c] | 48 | #define CONFIGURE_SPTEST |
[ac7d5ef0] | 49 | |
[3a4ae6c] | 50 | #define CONFIGURE_TEST_NEEDS_CONSOLE_DRIVER |
51 | #define CONFIGURE_TEST_NEEDS_CLOCK_DRIVER | |
52 | ||
53 | #define CONFIGURE_MAXIMUM_MESSAGE_QUEUES 10 | |
54 | #define CONFIGURE_TICKS_PER_TIMESLICE 100 | |
55 | ||
[be1c11ed] | 56 | #define CONFIGURE_RTEMS_INIT_TASKS_TABLE |
57 | ||
[328aa64c] | 58 | #define CONFIGURE_EXTRA_TASK_STACKS (3 * RTEMS_MINIMUM_STACK_SIZE) |
[9a993ed5] | 59 | |
[3a4ae6c] | 60 | #include <confdefs.h> |
61 | ||
62 | /* global variables */ | |
63 | ||
64 | TEST_EXTERN rtems_id Task_id[ 4 ]; /* array of task ids */ | |
65 | TEST_EXTERN rtems_name Task_name[ 4 ]; /* array of task names */ | |
66 | ||
67 | TEST_EXTERN rtems_id Queue_id[ 4 ]; /* array of queue ids */ | |
68 | TEST_EXTERN rtems_name Queue_name[ 4 ]; /* array of queue names */ | |
[ac7d5ef0] | 69 | |
70 | /* end of include file */ |
Note: See TracBrowser
for help on using the repository browser.