source: rtems/c/src/ada-tests/sptests/sp13/sptest.ads @ 77ff3d10

4.104.114.84.95
Last change on this file since 77ff3d10 was 77ff3d10, checked in by Joel Sherrill <joel.sherrill@…>, on 06/02/97 at 22:14:51

removed configuration table definition in Ada

  • Property mode set to 100644
File size: 2.1 KB
Line 
1--
2--  SPTEST / SPECIFICATION
3--
4--  DESCRIPTION:
5--
6--  This package is the specification for Test 13 of the RTEMS
7--  Single Processor Test Suite.
8--
9--  DEPENDENCIES:
10--
11-- 
12--
13--  COPYRIGHT (c) 1989-1997.
14--  On-Line Applications Research Corporation (OAR).
15--  Copyright assigned to U.S. Government, 1994.
16--
17--  The license and distribution terms for this file may in
18--  the file LICENSE in this distribution or at
19--  http://www.OARcorp.com/rtems/license.html.
20--
21--  $Id$
22--
23
24with CLOCK_DRIVER;
25with RTEMS;
26
27package SPTEST is
28
29--
30--  These arrays contain the IDs and NAMEs of all RTEMS tasks created
31--  by this test.
32--
33
34   TASK_ID   : array ( RTEMS.UNSIGNED32 range 1 .. 3 ) of RTEMS.ID;
35   TASK_NAME : array ( RTEMS.UNSIGNED32 range 1 .. 3 ) of RTEMS.NAME;
36
37--
38--  These arrays contain the IDs and NAMEs of all RTEMS message
39--  queues created by this test.
40--
41
42   QUEUE_ID   : array ( RTEMS.UNSIGNED32 range 1 .. 3 ) of RTEMS.ID;
43   QUEUE_NAME : array ( RTEMS.UNSIGNED32 range 1 .. 3 ) of RTEMS.NAME;
44
45--
46--  INIT
47--
48--  DESCRIPTION:
49--
50--  This RTEMS task initializes the application.
51--
52
53   procedure INIT (
54      ARGUMENT : in     RTEMS.TASK_ARGUMENT
55   );
56
57--
58--  FILL_BUFFER
59--
60--  DESCRIPTION:
61--
62--  This subprogram takes the SOURCE input string and places
63--  up to the first sixteen characters of that string into
64--  the message BUFFER.
65--
66
67   procedure FILL_BUFFER (
68      SOURCE : in     STRING;
69      BUFFER :    out RTEMS.BUFFER
70   );
71
72--
73--  PUT_BUFFER
74--
75--  DESCRIPTION:
76--
77--  This subprogram prints the specified message BUFFER.
78--
79
80   procedure PUT_BUFFER (
81      BUFFER : in     RTEMS.BUFFER
82   );
83
84--
85--  TASK_1
86--
87--  DESCRIPTION:
88--
89--  This RTEMS task tests the Message Queue Manager.
90--
91
92   procedure TASK_1 (
93      ARGUMENT : in     RTEMS.TASK_ARGUMENT
94   );
95
96--
97--  TASK_2
98--
99--  DESCRIPTION:
100--
101--  This RTEMS task tests the Message Queue Manager.
102--
103
104   procedure TASK_2 (
105      ARGUMENT : in     RTEMS.TASK_ARGUMENT
106   );
107
108--
109--  TASK_3
110--
111--  DESCRIPTION:
112--
113--  This RTEMS task tests the Message Queue Manager.
114--
115
116   procedure TASK_3 (
117      ARGUMENT : in     RTEMS.TASK_ARGUMENT
118   );
119
120end SPTEST;
Note: See TracBrowser for help on using the repository browser.