source: rtems/c/src/tests/sptests/sp20/system.h @ 9a993ed5

4.104.114.84.95
Last change on this file since 9a993ed5 was 9a993ed5, checked in by Joel Sherrill <joel.sherrill@…>, on 04/27/98 at 13:51:23

Added CONFIGURE_EXTRA_TASK_STACKS definition to make memory requirements
more accurate.

  • Property mode set to 100644
File size: 1.4 KB
Line 
1/*  system.h
2 *
3 *  This include file contains information that is included in every
4 *  function in the test set.
5 *
6 *  COPYRIGHT (c) 1989-1998.
7 *  On-Line Applications Research Corporation (OAR).
8 *  Copyright assigned to U.S. Government, 1994.
9 *
10 *  The license and distribution terms for this file may be
11 *  found in the file LICENSE in this distribution or at
12 *  http://www.OARcorp.com/rtems/license.html.
13 *
14 *  $Id$
15 */
16
17#include <tmacros.h>
18
19/* types */
20
21struct counters {
22  rtems_unsigned32 count[6];
23};
24
25/* functions */
26
27rtems_task Init(
28  rtems_task_argument argument
29);
30 
31rtems_task Task_1_through_5(
32  rtems_task_argument argument
33);
34 
35void Get_all_counters( void );
36 
37/* configuration information */
38
39#define CONFIGURE_SPTEST
40
41#define CONFIGURE_TEST_NEEDS_CONSOLE_DRIVER
42#define CONFIGURE_TEST_NEEDS_CLOCK_DRIVER
43
44#define CONFIGURE_INIT_TASK_PRIORITY          10
45#define CONFIGURE_INIT_TASK_INITIAL_MODES     RTEMS_DEFAULT_MODES
46#define CONFIGURE_MAXIMUM_PERIODS             10
47
48#define CONFIGURE_RTEMS_INIT_TASKS_TABLE
49
50#define CONFIGURE_EXTRA_TASK_STACKS         (15 * RTEMS_MINIMUM_STACK_SIZE)
51
52#include <confdefs.h>
53
54/* global variables */
55
56TEST_EXTERN rtems_id   Task_id[ 6 ];     /* array of task ids */
57TEST_EXTERN rtems_name Task_name[ 6 ];   /* array of task names */
58
59TEST_EXTERN struct counters Count;       /* iteration counters */
60TEST_EXTERN struct counters Temporary_count;
61extern rtems_task_priority Priorities[ 6 ];
62
63/* end of include file */
Note: See TracBrowser for help on using the repository browser.