source: rtems/testsuites/itrontests/itrontask02/system.h @ ac0ba842

4.104.114.84.95
Last change on this file since ac0ba842 was 0f88857, checked in by Jennifer Averett <Jennifer.Averett@…>, on 11/15/99 at 21:19:58

+ Changed preempt routine into two dummy tasks one that is in dormant

state and one that is in non-dormant state.

+ Increased the priority of the Init task to force the dummy tasks to

run first.

+ Added calls to ref_tsk to verify the state of the dummy tasks and

test ref_tsk.

  • Property mode set to 100644
File size: 903 bytes
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 Dormant_task();
24void Non_Dormant_task();
25
26/* configuration information */
27
28#define CONFIGURE_TEST_NEEDS_CONSOLE_DRIVER
29#define CONFIGURE_ITRON_INIT_TASK_TABLE
30
31#include <confdefs.h>
32
33/* global variables */
34
35#define DORMANT_TASK_ID         2
36#define NON_DORMANT_TASK_ID     3
37
38TEST_EXTERN rtems_id Global_variable;   /* example global variable     */
39
40/* end of include file */
41
42
43
44
45
Note: See TracBrowser for help on using the repository browser.