1 | -- |
---|
2 | -- SPTEST / SPECIFICATION |
---|
3 | -- |
---|
4 | -- DESCRIPTION: |
---|
5 | -- |
---|
6 | -- This package is the specification for Test 19 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 | |
---|
24 | with RTEMS; |
---|
25 | |
---|
26 | package 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 .. 6 ) of RTEMS.ID; |
---|
34 | TASK_NAME : array ( RTEMS.UNSIGNED32 range 1 .. 6 ) of RTEMS.NAME; |
---|
35 | |
---|
36 | -- |
---|
37 | -- This array contains the floating point factors used by the |
---|
38 | -- floating point tasks in this test. |
---|
39 | -- |
---|
40 | |
---|
41 | FP_FACTORS : array ( RTEMS.UNSIGNED32 range 0 .. 9 ) of FLOAT; |
---|
42 | |
---|
43 | -- |
---|
44 | -- This array contains the integer factors used by the |
---|
45 | -- integer tasks in this test. |
---|
46 | -- |
---|
47 | |
---|
48 | INTEGER_FACTORS : array ( RTEMS.UNSIGNED32 range 0 .. 9 ) of |
---|
49 | RTEMS.UNSIGNED32; |
---|
50 | |
---|
51 | -- |
---|
52 | -- INIT |
---|
53 | -- |
---|
54 | -- DESCRIPTION: |
---|
55 | -- |
---|
56 | -- This RTEMS task initializes the application. |
---|
57 | -- |
---|
58 | |
---|
59 | procedure INIT ( |
---|
60 | ARGUMENT : in RTEMS.TASK_ARGUMENT |
---|
61 | ); |
---|
62 | |
---|
63 | -- |
---|
64 | -- FIRST_FP_TASK |
---|
65 | -- |
---|
66 | -- DESCRIPTION: |
---|
67 | -- |
---|
68 | -- This RTEMS task tests the restart and deletion of floating point tasks. |
---|
69 | -- |
---|
70 | |
---|
71 | procedure FIRST_FP_TASK ( |
---|
72 | ARGUMENT : in RTEMS.TASK_ARGUMENT |
---|
73 | ); |
---|
74 | |
---|
75 | -- |
---|
76 | -- FP_TASK |
---|
77 | -- |
---|
78 | -- DESCRIPTION: |
---|
79 | -- |
---|
80 | -- This RTEMS task tests the basic capabilities of a floating point |
---|
81 | -- task. |
---|
82 | -- |
---|
83 | |
---|
84 | procedure FP_TASK ( |
---|
85 | ARGUMENT : in RTEMS.TASK_ARGUMENT |
---|
86 | ); |
---|
87 | |
---|
88 | -- |
---|
89 | -- TASK_1 |
---|
90 | -- |
---|
91 | -- DESCRIPTION: |
---|
92 | -- |
---|
93 | -- This RTEMS task provides a non-floating point task to test |
---|
94 | -- that an application can utilize a mixture of floating point |
---|
95 | -- and non-floating point tasks. |
---|
96 | -- |
---|
97 | |
---|
98 | procedure TASK_1 ( |
---|
99 | ARGUMENT : in RTEMS.TASK_ARGUMENT |
---|
100 | ); |
---|
101 | |
---|
102 | end SPTEST; |
---|