source: rtems/c/src/ada-tests/sptests/sp24/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: 1.6 KB
Line 
1--
2--  SPTEST / SPECIFICATION
3--
4--  DESCRIPTION:
5--
6--  This package is the specification for Test 24 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 ( 1 .. 3 ) of RTEMS.ID;
32   TASK_NAME : array ( 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 ( 1 .. 3 ) of RTEMS.ID;
40   TIMER_NAME : array ( 1 .. 3 ) of RTEMS.NAME;
41
42--
43--  INIT
44--
45--  DESCRIPTION:
46--
47--  This RTEMS task initializes the application.
48--
49
50   procedure INIT (
51      ARGUMENT : in     RTEMS.TASKS.ARGUMENT
52   );
53   pragma Convention (C, INIT);
54
55--
56--  RESUME_TASK
57--
58--  DESCRIPTION:
59--
60--  This subprogram is scheduled as a timer service routine.  When
61--  it fires it resumes the task which is mapped to this timer.
62--
63
64   procedure RESUME_TASK (
65      TIMER_ID        : in     RTEMS.ID;
66      IGNORED_ADDRESS : in     RTEMS.ADDRESS
67   );
68   pragma Convention (C, RESUME_TASK);
69
70--
71--  TASK_1_THROUGH_3
72--
73--  DESCRIPTION:
74--
75--  This RTEMS task tests the Timer Manager.
76--
77
78   procedure TASK_1_THROUGH_3 (
79      ARGUMENT : in     RTEMS.TASKS.ARGUMENT
80   );
81   pragma Convention (C, TASK_1_THROUGH_3);
82
83end SPTEST;
Note: See TracBrowser for help on using the repository browser.