source: rtems/c/src/ada-tests/tmtests/tmoverhd/tmtest.ads @ bc35a6ef

4.104.114.84.95
Last change on this file since bc35a6ef was b4be04e, checked in by Joel Sherrill <joel.sherrill@…>, on 06/03/97 at 20:24:11

Removed Configuration Table information.

  • Property mode set to 100644
File size: 2.9 KB
Line 
1--
2--  TMTEST / SPECIFICATION
3--
4--  DESCRIPTION:
5--
6--  This package is the specification for Calling Overhead Test of the RTEMS
7--  Timing 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;
25with SYSTEM;
26with TIMER_DRIVER;
27with System.Storage_Elements;
28
29package TMTEST is
30
31--
32--  These arrays contain the IDs and NAMEs of all RTEMS tasks created
33--  by this test.
34--
35
36   TASK_ID   : array ( RTEMS.UNSIGNED32 range 1 .. 3 ) of RTEMS.ID;
37   TASK_NAME : array ( RTEMS.UNSIGNED32 range 1 .. 3 ) of RTEMS.NAME;
38
39--
40--  The following variable is set to the execution time returned
41--  by the timer.
42--
43
44   END_TIME  : RTEMS.UNSIGNED32;
45
46--
47--  The following area defines a memory area to be used as the
48--  internal address space of the port.
49--
50
51   INTERNAL_PORT_AREA_ADDRESS : constant System.Address :=
52      System.Storage_Elements.To_Address(16#00001000#);
53
54   INTERNAL_PORT_AREA : array ( RTEMS.UNSIGNED32 range 0 .. 255 )
55      of RTEMS.UNSIGNED8;
56   for INTERNAL_PORT_AREA use at INTERNAL_PORT_AREA_ADDRESS;
57
58--
59--  The following area defines a memory area to be used as the
60--  external address space of the port.
61--
62
63   EXTERNAL_PORT_AREA_ADDRESS : constant System.Address :=
64      System.Storage_Elements.To_Address(16#00002000#);
65
66   EXTERNAL_PORT_AREA : array ( RTEMS.UNSIGNED32 range 0 .. 255 )
67      of RTEMS.UNSIGNED8;
68   for EXTERNAL_PORT_AREA use at EXTERNAL_PORT_AREA_ADDRESS;
69
70
71--
72--  The following area defines a memory area to be used as the
73--  memory space for a partition and later for a region.
74--
75
76   MEMORY_AREA : array ( RTEMS.UNSIGNED32 range 0 .. 255 ) of RTEMS.UNSIGNED8;
77   for MEMORY_AREA'ALIGNMENT use RTEMS.STRUCTURE_ALIGNMENT;
78
79--
80--  INIT
81--
82--  DESCRIPTION:
83--
84--  This RTEMS task initializes the application.
85--
86
87   procedure INIT (
88      ARGUMENT : in     RTEMS.TASK_ARGUMENT
89   );
90
91--
92--  TIMER_HANDLER
93--
94--  DESCRIPTION:
95--
96--  This subprogram is a timer service routine.
97--
98
99   procedure TIMER_HANDLER (
100      IGNORED_ID      : in     RTEMS.ID; 
101      IGNORED_ADDRESS : in     RTEMS.ADDRESS
102   );
103
104--
105--  ISR_HANDLER
106--
107--  DESCRIPTION:
108--
109--  This subprogram is an interrupt service routine.
110--
111
112   procedure ISR_HANDLER (
113      VECTOR : in     RTEMS.VECTOR_NUMBER
114   );
115
116--
117--  ASR_HANDLER
118--
119--  DESCRIPTION:
120--
121--  This subprogram is an asynchronous signal routine.
122--
123
124   procedure ASR_HANDLER (
125      SIGNALS : in     RTEMS.SIGNAL_SET
126   );
127
128--
129--  TASK_1
130--
131--  DESCRIPTION:
132--
133--  This RTEMS task is responsible for measuring and
134--  reporting the calling overhead for all RTEMS
135--  directives.
136--
137
138   procedure TASK_1 (
139      ARGUMENT : in     RTEMS.TASK_ARGUMENT
140   );
141
142end TMTEST;
Note: See TracBrowser for help on using the repository browser.