source: rtems/c/src/ada-tests/mptests/mp13/mptest.ads @ fd57015

4.115
Last change on this file since fd57015 was c499856, checked in by Chris Johns <chrisj@…>, on 03/20/14 at 21:10:47

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

  • Property mode set to 100644
File size: 2.1 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-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--  INIT
66--
67--  DESCRIPTION:
68--
69--  This RTEMS task initializes the application.
70--
71
72   procedure INIT (
73      ARGUMENT : in     RTEMS.TASKS.ARGUMENT
74   );
75   pragma Convention (C, INIT);
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.TASKS.ARGUMENT
87   );
88   pragma Convention (C, TEST_TASK_1);
89
90--
91--  TEST_TASK_2 
92--
93--  DESCRIPTION:
94--
95--  This is the body of one of the RTEMS tasks which constitute this test.
96--
97 
98   procedure TEST_TASK_2 (
99      ARGUMENT : in     RTEMS.TASKS.ARGUMENT
100   );
101   pragma Convention (C, TEST_TASK_2);
102
103end MPTEST;
Note: See TracBrowser for help on using the repository browser.