1 | -- |
---|
2 | -- MPTEST / SPECIFICATION |
---|
3 | -- |
---|
4 | -- DESCRIPTION: |
---|
5 | -- |
---|
6 | -- This package is the specification for Test 11 of the RTEMS |
---|
7 | -- Multiprocessor 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.org/license/LICENSE. |
---|
19 | -- |
---|
20 | |
---|
21 | with RTEMS; |
---|
22 | with RTEMS.TASKS; |
---|
23 | |
---|
24 | package MPTEST 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 .. 3 ) of RTEMS.ID; |
---|
32 | TASK_NAME : array ( RTEMS.UNSIGNED32 range 1 .. 3 ) of RTEMS.NAME; |
---|
33 | |
---|
34 | -- |
---|
35 | -- These arrays contain the IDs and NAMEs of all RTEMS message |
---|
36 | -- queues created by this test. |
---|
37 | -- |
---|
38 | |
---|
39 | QUEUE_ID : array ( RTEMS.UNSIGNED32 range 1 .. 2 ) of RTEMS.ID; |
---|
40 | QUEUE_NAME : array ( RTEMS.UNSIGNED32 range 1 .. 2 ) of RTEMS.NAME; |
---|
41 | |
---|
42 | -- |
---|
43 | -- These arrays contain the IDs and NAMEs of all RTEMS semaphore |
---|
44 | -- created by this test. |
---|
45 | -- |
---|
46 | |
---|
47 | SEMAPHORE_ID : array ( RTEMS.UNSIGNED32 range 1 .. 2 ) of RTEMS.ID; |
---|
48 | SEMAPHORE_NAME : array ( RTEMS.UNSIGNED32 range 1 .. 2 ) of RTEMS.NAME; |
---|
49 | |
---|
50 | -- |
---|
51 | -- These arrays contain the IDs and NAMEs of all RTEMS partition |
---|
52 | -- created by this test. |
---|
53 | -- |
---|
54 | |
---|
55 | PARTITION_ID : array ( RTEMS.UNSIGNED32 range 1 .. 2 ) of RTEMS.ID; |
---|
56 | PARTITION_NAME : array ( RTEMS.UNSIGNED32 range 1 .. 2 ) of RTEMS.NAME; |
---|
57 | |
---|
58 | -- |
---|
59 | -- This is the area used for the partition. |
---|
60 | -- |
---|
61 | |
---|
62 | PARTITION_AREA : |
---|
63 | array ( RTEMS.UNSIGNED32 range 0 .. 1023 ) of RTEMS.UNSIGNED8; |
---|
64 | for PARTITION_AREA'ALIGNMENT use RTEMS.STRUCTURE_ALIGNMENT; |
---|
65 | |
---|
66 | -- |
---|
67 | -- INIT |
---|
68 | -- |
---|
69 | -- DESCRIPTION: |
---|
70 | -- |
---|
71 | -- This RTEMS task initializes the application. |
---|
72 | -- |
---|
73 | |
---|
74 | procedure INIT ( |
---|
75 | ARGUMENT : in RTEMS.TASKS.ARGUMENT |
---|
76 | ); |
---|
77 | pragma Convention (C, INIT); |
---|
78 | |
---|
79 | end MPTEST; |
---|