source: rtems/c/src/ada-tests/mptests/mp08/mptest.ads @ 8fbe2e6

4.115
Last change on this file since 8fbe2e6 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: 1.7 KB
Line 
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--
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 semaphores created
36--  by this test.
37--
38
39   SEMAPHORE_ID   : array ( RTEMS.UNSIGNED32 range 1 .. 2 ) of RTEMS.ID;
40   SEMAPHORE_NAME : array ( RTEMS.UNSIGNED32 range 1 .. 2 ) of RTEMS.NAME;
41
42--
43--  This variable contains the ID of the remote task with which this
44--  test interacts.
45--
46
47   REMOTE_TID  : RTEMS.ID;
48
49--
50--  This variable contains the node on which the remote task with which
51--  this test interacts resides.
52--
53
54   REMOTE_NODE : RTEMS.UNSIGNED32;
55
56--
57--  The number of events to process per dot printed out.
58--
59
60   PER_DOT : constant RTEMS.UNSIGNED32 := 100;
61
62--
63--  INIT
64--
65--  DESCRIPTION:
66--
67--  This RTEMS task initializes the application.
68--
69
70   procedure INIT (
71      ARGUMENT : in     RTEMS.TASKS.ARGUMENT
72   );
73   pragma Convention (C, INIT);
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.TASKS.ARGUMENT
85   );
86   pragma Convention (C, TEST_TASK);
87
88end MPTEST;
Note: See TracBrowser for help on using the repository browser.