source:
rtems/c/src/ada-tests/mptests/mp08/mptest.ads
@
23848bbd
Last change on this file since 23848bbd was 23848bbd, checked in by Joel Sherrill <joel.sherrill@…>, on 10/01/07 at 22:58:09 | |
---|---|
|
|
File size: 1.6 KB |
Rev | Line | |
---|---|---|
[6d4e604b] | 1 | -- |
2 | -- MPTEST / SPECIFICATION | |
3 | -- | |
4 | -- DESCRIPTION: | |
5 | -- | |
6 | -- This package is the specification for Test 8 of the RTEMS | |
7 | -- Multiprocessor Test Suite. | |
8 | -- | |
9 | -- DEPENDENCIES: | |
10 | -- | |
11 | -- | |
12 | -- | |
[bf9ae83] | 13 | -- COPYRIGHT (c) 1989-1997. |
[6d4e604b] | 14 | -- On-Line Applications Research Corporation (OAR). |
15 | -- | |
[bf9ae83] | 16 | -- The license and distribution terms for this file may in |
17 | -- the file LICENSE in this distribution or at | |
[35e4691] | 18 | -- http://www.rtems.com/license/LICENSE. |
[6d4e604b] | 19 | -- |
[bf9ae83] | 20 | -- $Id$ |
[6d4e604b] | 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 semaphores created | |
37 | -- by this test. | |
38 | -- | |
39 | ||
40 | SEMAPHORE_ID : array ( RTEMS.UNSIGNED32 range 1 .. 2 ) of RTEMS.ID; | |
41 | SEMAPHORE_NAME : array ( RTEMS.UNSIGNED32 range 1 .. 2 ) of RTEMS.NAME; | |
42 | ||
43 | -- | |
44 | -- This variable contains the ID of the remote task with which this | |
45 | -- test interacts. | |
46 | -- | |
47 | ||
48 | REMOTE_TID : RTEMS.ID; | |
49 | ||
50 | -- | |
51 | -- This variable contains the node on which the remote task with which | |
52 | -- this test interacts resides. | |
53 | -- | |
54 | ||
55 | REMOTE_NODE : RTEMS.UNSIGNED32; | |
56 | ||
57 | -- | |
58 | -- The number of events to process per dot printed out. | |
59 | -- | |
60 | ||
61 | PER_DOT : constant RTEMS.UNSIGNED32 := 100; | |
62 | ||
63 | -- | |
64 | -- INIT | |
65 | -- | |
66 | -- DESCRIPTION: | |
67 | -- | |
68 | -- This RTEMS task initializes the application. | |
69 | -- | |
70 | ||
71 | procedure INIT ( | |
72 | ARGUMENT : in RTEMS.TASK_ARGUMENT | |
73 | ); | |
74 | ||
75 | -- | |
76 | -- TEST_TASK | |
77 | -- | |
78 | -- DESCRIPTION: | |
79 | -- | |
80 | -- This is the body of the RTEMS tasks which constitute this test. | |
81 | -- | |
82 | ||
83 | procedure TEST_TASK ( | |
84 | ARGUMENT : in RTEMS.TASK_ARGUMENT | |
85 | ); | |
86 | ||
87 | end MPTEST; |
Note: See TracBrowser
for help on using the repository browser.