source: rtems/testsuites/itrontests/itrontask03/system.h @ d37aa444

4.104.114.84.95
Last change on this file since d37aa444 was 06380cfe, checked in by Jennifer Averett <Jennifer.Averett@…>, on 11/15/99 at 21:25:53

+ Added check that a task could be sent to a dormant state

then sta_tsk used to restart the task to its initial state.

+ Added calls to ref_tsk to yellow paths for suspended and

ready but not running tasks.

+ Fixed output file to correctly state test name
+ Added priority of preempt to the header file. Allows ref_tsk verification.

  • Property mode set to 100644
File size: 1.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-1998.
7 *  On-Line Applications Research Corporation (OAR).
8 *  Copyright assigned to U.S. Government, 1994.
9 *
10 *  The license and distribution terms for this file may be
11 *  found in the file LICENSE in this distribution or at
12 *  http://www.OARcorp.com/rtems/license.html.
13 *
14 *  $Id$
15 */
16
17#include <tmacros.h>
18#include <itron.h>
19
20/* functions */
21
22void ITRON_Init( void );
23void Preempt_task();
24void Task_1();
25void Task_2();
26void Task_3();
27
28/* configuration information */
29
30#define CONFIGURE_TEST_NEEDS_CONSOLE_DRIVER
31#define CONFIGURE_TEST_NEEDS_CLOCK_DRIVER
32#define CONFIGURE_ITRON_INIT_TASK_TABLE
33
34#include <confdefs.h>
35
36/* global variables */
37
38#define PREEMPT_TASK_ID         2
39#define TA1_ID                  3
40#define TA2_ID                  4
41#define TA3_ID                  5
42
43
44#define PREEMPT_PRIORITY        1
45TEST_EXTERN rtems_id Global_variable;   /* example global variable     */
46
47/* end of include file */
Note: See TracBrowser for help on using the repository browser.