source: rtems/c/src/ada-tests/sptests/sp25/sptest.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--  SPTEST / SPECIFICATION
3--
4--  DESCRIPTION:
5--
6--  This package is the specification for Test 25 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 .. 2 ) of RTEMS.ID;
32   TASK_NAME : array ( RTEMS.UNSIGNED32 range 1 .. 2 ) of RTEMS.NAME;
33
34--
35--  These arrays contain the IDs and NAMEs of all RTEMS regions created
36--  by this test.
37--
38
39   REGION_ID   : array ( RTEMS.UNSIGNED32 range 1 .. 2 ) of RTEMS.ID;
40   REGION_NAME : array ( RTEMS.UNSIGNED32 range 1 .. 2 ) of RTEMS.NAME;
41
42--
43--  The following constant defines the priority of most of the
44--  RTEMS tasks in this test.  This allows one of the tasks to
45--  easily set itself to a higher priority than the rest.
46--
47
48   BASE_PRIORITY : constant RTEMS.TASKS.PRIORITY := 140;
49
50--
51--  These arrays define the memory areas used for the regions in
52--  this test.
53--
54
55   AREA_1 : array ( RTEMS.UNSIGNED32 range 0 .. 64000 ) of RTEMS.UNSIGNED8;
56   for AREA_1'ALIGNMENT use RTEMS.STRUCTURE_ALIGNMENT;
57
58--
59--  INIT
60--
61--  DESCRIPTION:
62--
63--  This RTEMS task initializes the application.
64--
65
66   procedure INIT (
67      ARGUMENT : in     RTEMS.TASKS.ARGUMENT
68   );
69   pragma Convention (C, INIT);
70
71--
72--  PUT_ADDRESS_FROM_AREA_1
73--
74--  DESCRIPTION:
75--
76--  This subprogram prints the offset of the address TO_BE_PRINTED
77--  from the first byte of AREA_1.
78--
79--  NOTE:
80--
81--  This subprogram is used because the actual address of AREA_1
82--  varies based upon the size of the executable, the target board,
83--  and the target processor.
84--
85
86   procedure PUT_ADDRESS_FROM_AREA_1 (
87      TO_BE_PRINTED : in     RTEMS.ADDRESS
88   );
89
90--
91--  TASK_1
92--
93--  DESCRIPTION:
94--
95--  This RTEMS task tests the Region Manager.
96--
97
98   procedure TASK_1 (
99      ARGUMENT : in     RTEMS.TASKS.ARGUMENT
100   );
101   pragma Convention (C, TASK_1);
102
103end SPTEST;
Note: See TracBrowser for help on using the repository browser.