4.104.114.84.95
Last change
on this file since 77ff3d10 was
77ff3d10,
checked in by Joel Sherrill <joel.sherrill@…>, on 06/02/97 at 22:14:51
|
removed configuration table definition in Ada
|
-
Property mode set to
100644
|
File size:
1.7 KB
|
Line | |
---|
1 | -- |
---|
2 | -- SPTEST / SPECIFICATION |
---|
3 | -- |
---|
4 | -- DESCRIPTION: |
---|
5 | -- |
---|
6 | -- This package is the specification for Test 2 of the RTEMS |
---|
7 | -- Single Processor Test Suite. |
---|
8 | -- |
---|
9 | -- DEPENDENCIES: |
---|
10 | -- |
---|
11 | -- |
---|
12 | -- |
---|
13 | -- COPYRIGHT (c) 1989-1997. |
---|
14 | -- On-Line Applications Research Corporation (OAR). |
---|
15 | -- Copyright assigned to U.S. Government, 1994. |
---|
16 | -- |
---|
17 | -- The license and distribution terms for this file may in |
---|
18 | -- the file LICENSE in this distribution or at |
---|
19 | -- http://www.OARcorp.com/rtems/license.html. |
---|
20 | -- |
---|
21 | -- $Id$ |
---|
22 | -- |
---|
23 | |
---|
24 | with CLOCK_DRIVER; |
---|
25 | with RTEMS; |
---|
26 | |
---|
27 | package SPTEST is |
---|
28 | |
---|
29 | -- |
---|
30 | -- These arrays contain the IDs and NAMEs of all RTEMS tasks created |
---|
31 | -- by this test. |
---|
32 | -- |
---|
33 | |
---|
34 | TASK_ID : array ( RTEMS.UNSIGNED32 range 1 .. 3 ) of RTEMS.ID; |
---|
35 | TASK_NAME : array ( RTEMS.UNSIGNED32 range 1 .. 3 ) of RTEMS.NAME; |
---|
36 | |
---|
37 | PREEMPT_TASK_ID : RTEMS.ID; |
---|
38 | PREEMPT_TASK_NAME : RTEMS.NAME; |
---|
39 | |
---|
40 | -- |
---|
41 | -- INIT |
---|
42 | -- |
---|
43 | -- DESCRIPTION: |
---|
44 | -- |
---|
45 | -- This RTEMS task initializes the application. |
---|
46 | -- |
---|
47 | |
---|
48 | procedure INIT ( |
---|
49 | ARGUMENT : in RTEMS.TASK_ARGUMENT |
---|
50 | ); |
---|
51 | |
---|
52 | -- |
---|
53 | -- PREEMPT_TASK |
---|
54 | -- |
---|
55 | -- DESCRIPTION: |
---|
56 | -- |
---|
57 | -- This RTEMS task tests the basic preemption capability. |
---|
58 | -- |
---|
59 | |
---|
60 | procedure PREEMPT_TASK ( |
---|
61 | ARGUMENT : in RTEMS.TASK_ARGUMENT |
---|
62 | ); |
---|
63 | |
---|
64 | -- |
---|
65 | -- TASK_1 |
---|
66 | -- |
---|
67 | -- DESCRIPTION: |
---|
68 | -- |
---|
69 | -- This RTEMS task tests some of the capabilities of the Task Manager. |
---|
70 | -- |
---|
71 | |
---|
72 | procedure TASK_1 ( |
---|
73 | ARGUMENT : in RTEMS.TASK_ARGUMENT |
---|
74 | ); |
---|
75 | |
---|
76 | -- |
---|
77 | -- TASK_2 |
---|
78 | -- |
---|
79 | -- DESCRIPTION: |
---|
80 | -- |
---|
81 | -- This RTEMS task tests some of the capabilities of the Task Manager. |
---|
82 | -- |
---|
83 | |
---|
84 | procedure TASK_2 ( |
---|
85 | ARGUMENT : in RTEMS.TASK_ARGUMENT |
---|
86 | ); |
---|
87 | |
---|
88 | -- |
---|
89 | -- TASK_3 |
---|
90 | -- |
---|
91 | -- DESCRIPTION: |
---|
92 | -- |
---|
93 | -- This RTEMS task tests some of the capabilities of the Task Manager. |
---|
94 | -- |
---|
95 | |
---|
96 | procedure TASK_3 ( |
---|
97 | ARGUMENT : in RTEMS.TASK_ARGUMENT |
---|
98 | ); |
---|
99 | |
---|
100 | end SPTEST; |
---|
Note: See
TracBrowser
for help on using the repository browser.