source: rtems/testsuites/sptests/sp02/system.h @ c4a236a

4.115
Last change on this file since c4a236a was c4a236a, checked in by Sebastian Huber <sebastian.huber@…>, on 06/17/13 at 08:12:26

Revert "sptests/sp02: Fix maximum task count"

This reverts commit 6f8adb073b0c1b4d2a638f99710fda4e99938332.

The resource count was correct.

  • Property mode set to 100644
File size: 1.2 KB
Line 
1/*
2 *  COPYRIGHT (c) 1989-2011.
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
10#include <tmacros.h>
11
12/* functions */
13
14rtems_task Init(
15  rtems_task_argument argument
16);
17
18rtems_task Preempt_task(
19  rtems_task_argument argument
20);
21
22rtems_task Task_1(
23  rtems_task_argument argument
24);
25
26rtems_task Task_2(
27  rtems_task_argument argument
28);
29
30rtems_task Task_3(
31  rtems_task_argument argument
32);
33
34/* configuration information */
35
36#define CONFIGURE_APPLICATION_NEEDS_CONSOLE_DRIVER
37#define CONFIGURE_APPLICATION_NEEDS_CLOCK_DRIVER
38
39#define CONFIGURE_RTEMS_INIT_TASKS_TABLE
40#define CONFIGURE_MAXIMUM_TASKS             4
41
42/*
43 *  Deliberately configure the IDLE Task's stack as greater than minimum
44 *  so it will have to be increased.
45 */
46#define CONFIGURE_IDLE_TASK_STACK_SIZE (2 * RTEMS_MINIMUM_STACK_SIZE)
47
48#include <rtems/confdefs.h>
49
50/* global variables */
51
52TEST_EXTERN rtems_id   Task_id[ 4 ];         /* array of task ids */
53TEST_EXTERN rtems_name Task_name[ 4 ];       /* array of task names */
54
55/* end of include file */
Note: See TracBrowser for help on using the repository browser.