source: rtems/c/src/ada-tests/mptests/mp10/mptest.ads @ c499856

4.115
Last change on this file since c499856 was c499856, checked in by Chris Johns <chrisj@…>, on Mar 20, 2014 at 9:10:47 PM

Change all references of rtems.com to rtems.org.

  • Property mode set to 100644
File size: 2.5 KB
Line 
1--
2--  MPTEST / SPECIFICATION
3--
4--  DESCRIPTION:
5--
6--  This package is the specification for Test 10 of the RTEMS
7--  Multiprocessor Test Suite.
8--
9--  DEPENDENCIES:
10--
11-- 
12--
13--  COPYRIGHT (c) 1989-2011.
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.org/license/LICENSE.
19--
20
21with RTEMS;
22with RTEMS.TASKS;
23
24package MPTEST is
25
26--
27--  These arrays contain the IDs and NAMEs of all RTEMS tasks created
28--  by this test.
29--
30
31   TASK_ID   : array ( RTEMS.UNSIGNED32 range 1 .. 3 ) of RTEMS.ID;
32   TASK_NAME : array ( RTEMS.UNSIGNED32 range 1 .. 3 ) of RTEMS.NAME;
33
34--
35--  These arrays contain the IDs and NAMEs of all RTEMS message
36--  queues created by this test.
37--
38
39   QUEUE_ID   : array ( RTEMS.UNSIGNED32 range 1 .. 2 ) of RTEMS.ID;
40   QUEUE_NAME : array ( RTEMS.UNSIGNED32 range 1 .. 2 ) of RTEMS.NAME;
41
42--
43--  These arrays contain the IDs and NAMEs of all RTEMS semaphore
44--  created by this test.
45--
46
47   SEMAPHORE_ID   : array ( RTEMS.UNSIGNED32 range 1 .. 2 ) of RTEMS.ID;
48   SEMAPHORE_NAME : array ( RTEMS.UNSIGNED32 range 1 .. 2 ) of RTEMS.NAME;
49
50--
51--  This variable contains the ID of the remote task with which this
52--  test interacts.
53--
54
55   REMOTE_TID  : RTEMS.ID;
56
57--
58--  This variable contains the node on which the remote task with which
59--  this test interacts resides.
60--
61
62   REMOTE_NODE : RTEMS.UNSIGNED32;
63
64--
65--  The number of events to process per dot printed out.
66--
67
68   PER_DOT : constant RTEMS.UNSIGNED32 := 100;
69
70--
71--  INIT
72--
73--  DESCRIPTION:
74--
75--  This RTEMS task initializes the application.
76--
77
78   procedure INIT (
79      ARGUMENT : in     RTEMS.TASKS.ARGUMENT
80   );
81   pragma Convention (C, INIT);
82
83--
84--  TEST_TASK_1
85--
86--  DESCRIPTION:
87--
88--  This is the body of one of the RTEMS tasks which constitute this test.
89--
90
91   procedure TEST_TASK_1 (
92      ARGUMENT : in     RTEMS.TASKS.ARGUMENT
93   );
94   pragma Convention (C, TEST_TASK_1);
95
96--
97--  TEST_TASK_2 
98--
99--  DESCRIPTION:
100--
101--  This is the body of one of the RTEMS tasks which constitute this test.
102--
103 
104   procedure TEST_TASK_2 ( 
105      ARGUMENT : in     RTEMS.TASKS.ARGUMENT
106   );
107   pragma Convention (C, TEST_TASK_2);
108
109--
110--  TEST_TASK_3 
111--
112--  DESCRIPTION:
113--
114--  This is the body of one of the RTEMS tasks which constitute this test.
115--
116 
117   procedure TEST_TASK_3 ( 
118      RESTART : in     RTEMS.TASKS.ARGUMENT
119   );
120   pragma Convention (C, TEST_TASK_3);
121
122end MPTEST;
Note: See TracBrowser for help on using the repository browser.