source:
rtems/c/src/ada-tests/mptests/mp13/mptest.ads
@
d731ccc7
Last change on this file since d731ccc7 was 23848bbd, checked in by Joel Sherrill <joel.sherrill@…>, on 10/01/07 at 22:58:09 | |
---|---|
|
|
File size: 2.0 KB |
Line | |
---|---|
1 | -- |
2 | -- MPTEST / SPECIFICATION |
3 | -- |
4 | -- DESCRIPTION: |
5 | -- |
6 | -- This package is the specification for Test 13 of the RTEMS |
7 | -- Multiprocessor Test Suite. |
8 | -- |
9 | -- DEPENDENCIES: |
10 | -- |
11 | -- |
12 | -- |
13 | -- COPYRIGHT (c) 1989-1997. |
14 | -- On-Line Applications Research Corporation (OAR). |
15 | -- |
16 | -- The license and distribution terms for this file may in |
17 | -- the file LICENSE in this distribution or at |
18 | -- http://www.rtems.com/license/LICENSE. |
19 | -- |
20 | -- $Id$ |
21 | -- |
22 | |
23 | with RTEMS; |
24 | |
25 | package MPTEST is |
26 | |
27 | -- |
28 | -- These arrays contain the IDs and NAMEs of all RTEMS tasks created |
29 | -- by this test. |
30 | -- |
31 | |
32 | TASK_ID : array ( RTEMS.UNSIGNED32 range 1 .. 3 ) of RTEMS.ID; |
33 | TASK_NAME : array ( RTEMS.UNSIGNED32 range 1 .. 3 ) of RTEMS.NAME; |
34 | |
35 | -- |
36 | -- These arrays contain the IDs and NAMEs of all RTEMS message |
37 | -- queues created by this test. |
38 | -- |
39 | |
40 | QUEUE_ID : array ( RTEMS.UNSIGNED32 range 1 .. 2 ) of RTEMS.ID; |
41 | QUEUE_NAME : array ( RTEMS.UNSIGNED32 range 1 .. 2 ) of RTEMS.NAME; |
42 | |
43 | -- |
44 | -- These arrays contain the IDs and NAMEs of all RTEMS semaphore |
45 | -- created by this test. |
46 | -- |
47 | |
48 | SEMAPHORE_ID : array ( RTEMS.UNSIGNED32 range 1 .. 2 ) of RTEMS.ID; |
49 | SEMAPHORE_NAME : array ( RTEMS.UNSIGNED32 range 1 .. 2 ) of RTEMS.NAME; |
50 | |
51 | -- |
52 | -- This variable contains the ID of the remote task with which this |
53 | -- test interacts. |
54 | -- |
55 | |
56 | REMOTE_TID : RTEMS.ID; |
57 | |
58 | -- |
59 | -- This variable contains the node on which the remote task with which |
60 | -- this test interacts resides. |
61 | -- |
62 | |
63 | REMOTE_NODE : RTEMS.UNSIGNED32; |
64 | |
65 | -- |
66 | -- INIT |
67 | -- |
68 | -- DESCRIPTION: |
69 | -- |
70 | -- This RTEMS task initializes the application. |
71 | -- |
72 | |
73 | procedure INIT ( |
74 | ARGUMENT : in RTEMS.TASK_ARGUMENT |
75 | ); |
76 | |
77 | -- |
78 | -- TEST_TASK_1 |
79 | -- |
80 | -- DESCRIPTION: |
81 | -- |
82 | -- This is the body of one of the RTEMS tasks which constitute this test. |
83 | -- |
84 | |
85 | procedure TEST_TASK_1 ( |
86 | ARGUMENT : in RTEMS.TASK_ARGUMENT |
87 | ); |
88 | |
89 | -- |
90 | -- TEST_TASK_2 |
91 | -- |
92 | -- DESCRIPTION: |
93 | -- |
94 | -- This is the body of one of the RTEMS tasks which constitute this test. |
95 | -- |
96 | |
97 | procedure TEST_TASK_2 ( |
98 | ARGUMENT : in RTEMS.TASK_ARGUMENT |
99 | ); |
100 | |
101 | end MPTEST; |
Note: See TracBrowser
for help on using the repository browser.