source: rtems/c/src/ada-tests/sptests/sp02/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.8 KB
Line 
1--
2--  SPTEST / SPECIFICATION
3--
4--  DESCRIPTION:
5--
6--  This package is the specification for Test 2 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 .. 3 ) of RTEMS.ID;
32   TASK_NAME : array ( RTEMS.UNSIGNED32 range 1 .. 3 ) of RTEMS.NAME;
33
34   PREEMPT_TASK_ID   : RTEMS.ID;
35   PREEMPT_TASK_NAME : RTEMS.NAME;
36
37--
38--  INIT
39--
40--  DESCRIPTION:
41--
42--  This RTEMS task initializes the application.
43--
44
45   procedure INIT (
46      ARGUMENT : in     RTEMS.TASKS.ARGUMENT
47   );
48   pragma Convention (C, INIT);
49
50--
51--  PREEMPT_TASK
52--
53--  DESCRIPTION:
54--
55--  This RTEMS task tests the basic preemption capability.
56--
57
58   procedure PREEMPT_TASK (
59      ARGUMENT : in     RTEMS.TASKS.ARGUMENT
60   );
61   pragma Convention (C, PREEMPT_TASK);
62
63--
64--  TASK_1
65--
66--  DESCRIPTION:
67--
68--  This RTEMS task tests some of the capabilities of the Task Manager.
69--
70
71   procedure TASK_1 (
72      ARGUMENT : in     RTEMS.TASKS.ARGUMENT
73   );
74   pragma Convention (C, TASK_1);
75
76--
77--  TASK_2
78--
79--  DESCRIPTION:
80--
81--  This RTEMS task tests some of the capabilities of the Task Manager.
82--
83
84   procedure TASK_2 (
85      ARGUMENT : in     RTEMS.TASKS.ARGUMENT
86   );
87   pragma Convention (C, TASK_2);
88
89--
90--  TASK_3
91--
92--  DESCRIPTION:
93--
94--  This RTEMS task tests some of the capabilities of the Task Manager.
95--
96
97   procedure TASK_3 (
98      ARGUMENT : in     RTEMS.TASKS.ARGUMENT
99   );
100   pragma Convention (C, TASK_3);
101
102end SPTEST;
Note: See TracBrowser for help on using the repository browser.