source: rtems/testsuites/sptests/sp07/system.h @ e457190

4.104.114.84.95
Last change on this file since e457190 was e457190, checked in by Joel Sherrill <joel.sherrill@…>, on 12/16/03 at 23:35:09

2003-12-16 Joel Sherrill <joel@…>

PR 544/tests

  • sp07/Makefile.am, sp07/init.c, sp07/system.h, sp07/task4.c, sp07/tcreate.c, sp07/tdelete.c, sp07/trestart.c, sp07/tstart.c, sp09/system.h, sp19/system.h, sp20/system.h: Various modifications to make tests account for resources and not print at inappropriate times.
  • sp07/buffered_io.c: New file.
  • 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-1999.
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.com/license/LICENSE.
12 *
13 *  $Id$
14 */
15
16#include <tmacros.h>
17
18/* buffered IO */
19
20void buffered_io_initialize( void );
21
22void buffered_io_flush(void);
23
24void buffered_io_add_string( char *s );
25
26/* end of buffered IO */
27 
28/* functions */
29
30rtems_task Init(
31  rtems_task_argument argument
32);
33
34rtems_task Task_1(
35  rtems_task_argument argument
36);
37 
38rtems_task Task_2(
39  rtems_task_argument argument
40);
41 
42rtems_task Task_3(
43  rtems_task_argument argument
44);
45 
46rtems_task Task_4(
47  rtems_task_argument argument
48);
49 
50rtems_boolean Task_create_extension(
51  rtems_tcb *unused,
52  rtems_tcb *created_task
53);
54 
55rtems_extension Task_delete_extension(
56  rtems_tcb *running_task,
57  rtems_tcb *deleted_task
58);
59 
60rtems_extension Task_restart_extension(
61  rtems_tcb *unused,
62  rtems_tcb *restarted_task
63);
64 
65rtems_extension Task_start_extension(
66  rtems_tcb *unused,
67  rtems_tcb *started_task
68);
69 
70rtems_extension Task_exit_extension(
71  rtems_tcb *running_task
72);
73
74/* configuration information */
75
76#define CONFIGURE_APPLICATION_NEEDS_CONSOLE_DRIVER
77#define CONFIGURE_APPLICATION_NEEDS_CLOCK_DRIVER
78
79#define CONFIGURE_MAXIMUM_USER_EXTENSIONS     1
80#define CONFIGURE_TICKS_PER_TIMESLICE       100
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 <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.