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

4.104.114.95
Last change on this file since 6d97132 was 6d97132, checked in by Joel Sherrill <joel.sherrill@…>, on 09/03/08 at 22:06:25

2008-09-03 Joel Sherrill <joel.sherrill@…>

  • sp07/system.h, sp07/tcreate.c: Convert to bool type.
  • Property mode set to 100644
File size: 1.9 KB
RevLine 
[ac7d5ef0]1/*  system.h
2 *
3 *  This include file contains information that is included in every
4 *  function in the test set.
5 *
[08311cc3]6 *  COPYRIGHT (c) 1989-1999.
[ac7d5ef0]7 *  On-Line Applications Research Corporation (OAR).
8 *
[98e4ebf5]9 *  The license and distribution terms for this file may be
10 *  found in the file LICENSE in this distribution or at
[d2b93bfd]11 *  http://www.rtems.com/license/LICENSE.
[ac7d5ef0]12 *
[3235ad9]13 *  $Id$
[ac7d5ef0]14 */
15
[4b374f36]16#include <tmacros.h>
[ac7d5ef0]17
[e457190]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 */
[1b4f2b30]27
[3a4ae6c]28/* functions */
[ac7d5ef0]29
[3a4ae6c]30rtems_task Init(
31  rtems_task_argument argument
32);
[ac7d5ef0]33
[3a4ae6c]34rtems_task Task_1(
35  rtems_task_argument argument
36);
[1b4f2b30]37
[3a4ae6c]38rtems_task Task_2(
39  rtems_task_argument argument
40);
[1b4f2b30]41
[3a4ae6c]42rtems_task Task_3(
43  rtems_task_argument argument
44);
[1b4f2b30]45
[3a4ae6c]46rtems_task Task_4(
47  rtems_task_argument argument
48);
[1b4f2b30]49
[6d97132]50bool Task_create_extension(
[3a4ae6c]51  rtems_tcb *unused,
52  rtems_tcb *created_task
53);
[1b4f2b30]54
[3a4ae6c]55rtems_extension Task_delete_extension(
56  rtems_tcb *running_task,
57  rtems_tcb *deleted_task
58);
[1b4f2b30]59
[3a4ae6c]60rtems_extension Task_restart_extension(
61  rtems_tcb *unused,
62  rtems_tcb *restarted_task
63);
[1b4f2b30]64
[3a4ae6c]65rtems_extension Task_start_extension(
66  rtems_tcb *unused,
67  rtems_tcb *started_task
68);
[1b4f2b30]69
[3a4ae6c]70rtems_extension Task_exit_extension(
71  rtems_tcb *running_task
72);
[ac7d5ef0]73
[3a4ae6c]74/* configuration information */
[ac7d5ef0]75
[df49c60]76#define CONFIGURE_APPLICATION_NEEDS_CONSOLE_DRIVER
77#define CONFIGURE_APPLICATION_NEEDS_CLOCK_DRIVER
[ac7d5ef0]78
[79542d7]79#define CONFIGURE_MAXIMUM_USER_EXTENSIONS     2
[3a4ae6c]80#define CONFIGURE_TICKS_PER_TIMESLICE       100
[ac7d5ef0]81
[be1c11ed]82#define CONFIGURE_RTEMS_INIT_TASKS_TABLE
83
[9a993ed5]84#define CONFIGURE_EXTRA_TASK_STACKS         (4 * RTEMS_MINIMUM_STACK_SIZE)
[df49c60]85#define CONFIGURE_MAXIMUM_TASKS             5
[9a993ed5]86
[e8064503]87#include <rtems/confdefs.h>
[3a4ae6c]88
89/* global variables */
90
[cc51de91]91TEST_EXTERN rtems_id   Task_id[ 5 ];         /* array of task ids */
92TEST_EXTERN rtems_name Task_name[ 5 ];       /* array of task names */
[3a4ae6c]93
94TEST_EXTERN rtems_id   Extension_id[ 4 ];
95TEST_EXTERN rtems_name Extension_name[ 4 ];  /* array of task names */
[1b4f2b30]96
[ac7d5ef0]97/* end of include file */
Note: See TracBrowser for help on using the repository browser.