source: rtems/c/src/ada-tests/mptests/mp03/mptest.ads @ 9b4422a2

4.115
Last change on this file since 9b4422a2 was 9b4422a2, checked in by Joel Sherrill <joel.sherrill@…>, on 05/03/12 at 15:09:24

Remove All CVS Id Strings Possible Using a Script

Script does what is expected and tries to do it as
smartly as possible.

+ remove occurrences of two blank comment lines

next to each other after Id string line removed.

+ remove entire comment blocks which only exited to

contain CVS Ids

+ If the processing left a blank line at the top of

a file, it was removed.

  • Property mode set to 100644
File size: 2.2 KB
Line 
1--
2--  MPTEST / SPECIFICATION
3--
4--  DESCRIPTION:
5--
6--  This package is the specification for Test 3 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.com/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 timers created
36--  by this test.
37--
38
39   TIMER_ID   : array ( RTEMS.UNSIGNED32 range 1 .. 2 ) of RTEMS.ID;
40   TIMER_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--  INIT
58--
59--  DESCRIPTION:
60--
61--  This RTEMS task initializes the application.
62--
63
64   procedure INIT (
65      ARGUMENT : in     RTEMS.TASKS.ARGUMENT
66   );
67   pragma Convention (C, INIT);
68
69--
70--  DELAYED_SEND_EVENT
71--
72--  DESCRIPTION:
73--
74--  This subprogram is a timer service routine which sends an
75--  event set to a waiting task.
76--
77
78   procedure DELAYED_SEND_EVENT (
79      IGNORED_ID      : in     RTEMS.ID; 
80      IGNORED_ADDRESS : in     RTEMS.ADDRESS
81   );
82   pragma Convention (C, DELAYED_SEND_EVENT);
83
84--
85--  TEST_TASK
86--
87--  DESCRIPTION:
88--
89--  This is the body of the RTEMS tasks which constitute this test.
90--
91
92   procedure TEST_TASK (
93      ARGUMENT : in     RTEMS.TASKS.ARGUMENT
94   );
95   pragma Convention (C, TEST_TASK);
96
97--
98--  TEST_TASK_SUPPORT
99--
100--  DESCRIPTION:
101--
102--  This subprogram performs the bulk of the test.  Based on the NODE
103--  specified, this subprogram loops suspending/resuming a remote task
104--  or waiting for itself to be suspended/resumed.
105--
106
107   procedure TEST_TASK_SUPPORT (
108      NODE : in     RTEMS.UNSIGNED32
109   );
110
111end MPTEST;
Note: See TracBrowser for help on using the repository browser.