source: rtems/c/src/tests/sptests/sp20/system.h @ cf42c54c

4.104.114.84.95
Last change on this file since cf42c54c was cf42c54c, checked in by Joel Sherrill <joel.sherrill@…>, on 09/29/00 at 14:51:16

2000-09-29 Stephan Merker <merker@…>

  • sp20/getall.c, sp20/init.c, sp20/system.h, sp20/task1.c: Added new task to test sequence of altering a period's length while it is still active.
  • Property mode set to 100644
File size: 1.5 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.OARcorp.com/rtems/license.html.
12 *
13 *  $Id$
14 */
15
16/* StM:
17  One test added for verifying rtems_rate_monotonic_period() with changing period lengths.
18 */
19
20#include <tmacros.h>
21
22/* types */
23
24struct counters {
25  rtems_unsigned32 count[7];
26};
27
28/* functions */
29
30rtems_task Init(
31  rtems_task_argument argument
32);
33 
34rtems_task Task_1_through_6(
35  rtems_task_argument argument
36);
37 
38void Get_all_counters( void );
39 
40/* configuration information */
41
42#define CONFIGURE_APPLICATION_NEEDS_CONSOLE_DRIVER
43#define CONFIGURE_APPLICATION_NEEDS_CLOCK_DRIVER
44
45#define CONFIGURE_MAXIMUM_TASKS               7
46#define CONFIGURE_MAXIMUM_PERIODS             10
47
48#define CONFIGURE_INIT_TASK_PRIORITY          10
49#define CONFIGURE_INIT_TASK_INITIAL_MODES     RTEMS_DEFAULT_MODES
50#define CONFIGURE_RTEMS_INIT_TASKS_TABLE
51
52#define CONFIGURE_EXTRA_TASK_STACKS         (15 * RTEMS_MINIMUM_STACK_SIZE)
53
54#include <confdefs.h>
55
56/* global variables */
57
58TEST_EXTERN rtems_id   Task_id[ 7 ];     /* array of task ids */
59TEST_EXTERN rtems_name Task_name[ 7 ];   /* array of task names */
60
61TEST_EXTERN struct counters Count;       /* iteration counters */
62TEST_EXTERN struct counters Temporary_count;
63extern rtems_task_priority Priorities[ 7 ];
64
65/* end of include file */
Note: See TracBrowser for help on using the repository browser.