source: rtems/c/src/tests/libtests/rtmonuse/system.h @ 61a183a9

4.104.114.84.95
Last change on this file since 61a183a9 was 61a183a9, checked in by Joel Sherrill <joel.sherrill@…>, on 04/09/97 at 20:19:35

new test

  • Property mode set to 100644
File size: 1.4 KB
RevLine 
[61a183a9]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, 1990, 1991, 1992, 1993, 1994.
7 *  On-Line Applications Research Corporation (OAR).
8 *  All rights assigned to U.S. Government, 1994.
9 *
10 *  This material may be reproduced by or for the U.S. Government pursuant
11 *  to the copyright license under the clause at DFARS 252.227-7013.  This
12 *  notice must appear in all copies of this file and its derivatives.
13 *
14 *  system.h,v 1.6 1995/12/19 20:21:12 joel Exp
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#include <confdefs.h>
49
50/* global variables */
51
52TEST_EXTERN rtems_id   Task_id[ 6 ];     /* array of task ids */
53TEST_EXTERN rtems_name Task_name[ 6 ];   /* array of task names */
54
55TEST_EXTERN struct counters Count;       /* iteration counters */
56TEST_EXTERN struct counters Temporary_count;
57extern rtems_task_priority Priorities[ 6 ];
58
59/* end of include file */
Note: See TracBrowser for help on using the repository browser.