source: rtems/c/src/ada-tests/sptests/sp08/sptest.ads @ 2af6056

4.104.114.84.95
Last change on this file since 2af6056 was 7f79b673, checked in by Joel Sherrill <joel.sherrill@…>, on Jun 2, 1997 at 10:37:28 PM

readded body for "main" procedures

  • Property mode set to 100644
File size: 1.3 KB
Line 
1--
2--  SPTEST / SPECIFICATION
3--
4--  DESCRIPTION:
5--
6--  This package is the specification for Test 8 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 RTEMS;
25
26package SPTEST is
27
28--
29--  These arrays contain the IDs and NAMEs of all RTEMS tasks created
30--  by this test.
31--
32
33   TASK_ID   : array ( RTEMS.UNSIGNED32 range 1 .. 3 ) of RTEMS.ID;
34   TASK_NAME : array ( RTEMS.UNSIGNED32 range 1 .. 3 ) of RTEMS.NAME;
35
36--
37--  INIT
38--
39--  DESCRIPTION:
40--
41--  This RTEMS task initializes the application.
42--
43
44   procedure INIT (
45      ARGUMENT : in     RTEMS.TASK_ARGUMENT
46   );
47
48--
49--  PUT_MODE
50--
51--  DESCRIPTION:
52--
53--  This subprogram prints the COMMENT and the OUTPUT_MODE followed
54--  by a carriage return.
55--
56
57   procedure PUT_MODE(
58      COMMENT     : in    STRING;
59      OUTPUT_MODE : in    RTEMS.MODE
60   );
61
62--
63--  TASK_1
64--
65--  DESCRIPTION:
66--
67--  This RTEMS task tests the TASK_MODE directive of the Task Manager.
68--
69
70   procedure TASK_1 (
71      ARGUMENT : in     RTEMS.TASK_ARGUMENT
72   );
73
74end SPTEST;
Note: See TracBrowser for help on using the repository browser.