source: rtems/testsuites/sptests/sp07/system.h @ 6e1206a

4.115
Last change on this file since 6e1206a was 6c0301d, checked in by Sebastian Huber <sebastian.huber@…>, on 03/25/14 at 07:06:21

tests/sptests: Use <rtems/test.h>

  • Property mode set to 100644
File size: 2.0 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-2009.
7 *  On-Line Applications Research Corporation (OAR).
8 *
9 *  The license and distribution terms for this file may be
10 *  found in the file LICENSE in this distribution or at
11 *  http://www.rtems.org/license/LICENSE.
12 */
13
14#include <tmacros.h>
15
16/* buffered IO */
17
18void buffered_io_initialize( void );
19
20void buffered_io_flush(void);
21
22void buffered_io_add_string( char *s );
23
24/* end of buffered IO */
25
26/* functions */
27
28rtems_task Init(
29  rtems_task_argument argument
30);
31
32rtems_task Task_1(
33  rtems_task_argument argument
34);
35
36rtems_task Task_2(
37  rtems_task_argument argument
38);
39
40rtems_task Task_3(
41  rtems_task_argument argument
42);
43
44rtems_task Task_4(
45  rtems_task_argument argument
46);
47
48bool Task_create_extension(
49  rtems_tcb *unused,
50  rtems_tcb *created_task
51);
52
53void Task_delete_extension(
54  rtems_tcb *running_task,
55  rtems_tcb *deleted_task
56);
57
58void Task_restart_extension(
59  rtems_tcb *unused,
60  rtems_tcb *restarted_task
61);
62
63void Task_start_extension(
64  rtems_tcb *unused,
65  rtems_tcb *started_task
66);
67
68void Task_exit_extension(
69  rtems_tcb *running_task
70);
71
72/* configuration information */
73
74#define CONFIGURE_APPLICATION_NEEDS_CONSOLE_DRIVER
75#define CONFIGURE_APPLICATION_NEEDS_CLOCK_DRIVER
76
77#define CONFIGURE_MAXIMUM_USER_EXTENSIONS     2
78#define CONFIGURE_TICKS_PER_TIMESLICE       100
79
80#define CONFIGURE_INITIAL_EXTENSIONS RTEMS_TEST_INITIAL_EXTENSION
81
82#define CONFIGURE_RTEMS_INIT_TASKS_TABLE
83
84#define CONFIGURE_EXTRA_TASK_STACKS         (4 * RTEMS_MINIMUM_STACK_SIZE)
85#define CONFIGURE_MAXIMUM_TASKS             5
86
87#include <rtems/confdefs.h>
88
89/* global variables */
90
91TEST_EXTERN rtems_id   Task_id[ 5 ];         /* array of task ids */
92TEST_EXTERN rtems_name Task_name[ 5 ];       /* array of task names */
93
94TEST_EXTERN rtems_id   Extension_id[ 4 ];
95TEST_EXTERN rtems_name Extension_name[ 4 ];  /* array of task names */
96
97/* end of include file */
Note: See TracBrowser for help on using the repository browser.