source: rtems/c/src/ada-tests/sptests/sp12/sptest.ads @ f619250

4.115
Last change on this file since f619250 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.8 KB
Line 
1--
2--  SPTEST / SPECIFICATION
3--
4--  DESCRIPTION:
5--
6--  This package is the specification for Test 12 of the RTEMS
7--  Single Processor 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 SPTEST 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 .. 5 ) of RTEMS.ID;
32   TASK_NAME : array ( RTEMS.UNSIGNED32 range 1 .. 5 ) of RTEMS.NAME;
33
34   PRIORITY_TASK_ID   : array ( 1 .. 5 ) of RTEMS.ID;
35   PRIORITY_TASK_NAME : array ( 1 .. 5 ) of RTEMS.NAME;
36   TASK_PRIORITY      : array ( 1 .. 5 ) of RTEMS.TASKS.PRIORITY;
37
38   SEMAPHORE_ID   : array ( RTEMS.UNSIGNED32 range 1 .. 3 ) of RTEMS.ID;
39   SEMAPHORE_NAME : array ( RTEMS.UNSIGNED32 range 1 .. 3 ) of RTEMS.NAME;
40
41--
42--  INIT
43--
44--  DESCRIPTION:
45--
46--  This RTEMS task initializes the application.
47--
48
49   procedure INIT (
50      ARGUMENT : in     RTEMS.TASKS.ARGUMENT
51   );
52   pragma Convention (C, INIT);
53
54--
55--  PRIORITY_TEST_DRIVER
56--
57--  DESCRIPTION:
58--
59--  This subprogram creates and starts RTEMS tasks of different priority
60--  so that those tasks may exercise the priority blocking algorithm.
61--
62
63   procedure PRIORITY_TEST_DRIVER (
64      PRIORITY_BASE : in     RTEMS.UNSIGNED32
65   );
66
67--
68--  PRIORITY_TASK
69--
70--  DESCRIPTION:
71--
72--  Copies of this RTEMS are executed at different priorities and each
73--  instantiation blocks on a semaphore with priority blocking.  This
74--  is done to exercise the priority blocking algorithms.
75--
76
77   procedure PRIORITY_TASK (
78      ITS_INDEX : in     RTEMS.TASKS.ARGUMENT
79   );
80   pragma Convention (C, PRIORITY_TASK);
81
82--
83--  TASK_1
84--
85--  DESCRIPTION:
86--
87--  This RTEMS task tests the Semaphore Manager.
88--
89
90   procedure TASK_1 (
91      ARGUMENT : in     RTEMS.TASKS.ARGUMENT
92   );
93   pragma Convention (C, TASK_1);
94
95--
96--  TASK_2
97--
98--  DESCRIPTION:
99--
100--  This RTEMS task tests the Semaphore Manager.
101--
102
103   procedure TASK_2 (
104      ARGUMENT : in     RTEMS.TASKS.ARGUMENT
105   );
106   pragma Convention (C, TASK_2);
107
108--
109--  TASK_3
110--
111--  DESCRIPTION:
112--
113--  This RTEMS task tests the Semaphore Manager.
114--
115
116   procedure TASK_3 (
117      ARGUMENT : in     RTEMS.TASKS.ARGUMENT
118   );
119   pragma Convention (C, TASK_3);
120
121--
122--  TASK_4
123--
124--  DESCRIPTION:
125--
126--  This RTEMS task tests the Semaphore Manager.
127--
128
129   procedure TASK_4 (
130      ARGUMENT : in     RTEMS.TASKS.ARGUMENT
131   );
132   pragma Convention (C, TASK_4);
133
134--
135--  TASK_5
136--
137--  DESCRIPTION:
138--
139--  This RTEMS task tests the Semaphore Manager.
140--
141
142   procedure TASK_5 (
143      ARGUMENT : in     RTEMS.TASKS.ARGUMENT
144   );
145   pragma Convention (C, TASK_5);
146
147end SPTEST;
Note: See TracBrowser for help on using the repository browser.