4.115
Last change
on this file since 8fbe2e6 was
c499856,
checked in by Chris Johns <chrisj@…>, on 03/20/14 at 21:10:47
|
Change all references of rtems.com to rtems.org.
|
-
Property mode set to
100644
|
File size:
1.6 KB
|
Rev | Line | |
---|
[6d4e604b] | 1 | -- |
---|
| 2 | -- MPTEST / SPECIFICATION |
---|
| 3 | -- |
---|
| 4 | -- DESCRIPTION: |
---|
| 5 | -- |
---|
| 6 | -- This package is the specification for Test 12 of the RTEMS |
---|
| 7 | -- Multiprocessor Test Suite. |
---|
| 8 | -- |
---|
| 9 | -- DEPENDENCIES: |
---|
| 10 | -- |
---|
| 11 | -- |
---|
| 12 | -- |
---|
[3c4d8cd1] | 13 | -- COPYRIGHT (c) 1989-2011. |
---|
[6d4e604b] | 14 | -- On-Line Applications Research Corporation (OAR). |
---|
| 15 | -- |
---|
[bf9ae83] | 16 | -- The license and distribution terms for this file may in |
---|
| 17 | -- the file LICENSE in this distribution or at |
---|
[c499856] | 18 | -- http://www.rtems.org/license/LICENSE. |
---|
[6d4e604b] | 19 | -- |
---|
| 20 | |
---|
| 21 | with RTEMS; |
---|
[3c4d8cd1] | 22 | with RTEMS.TASKS; |
---|
[6d4e604b] | 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 semaphore |
---|
| 36 | -- created by this test. |
---|
| 37 | -- |
---|
| 38 | |
---|
| 39 | PARTITION_ID : array ( RTEMS.UNSIGNED32 range 1 .. 2 ) of RTEMS.ID; |
---|
| 40 | PARTITION_NAME : array ( RTEMS.UNSIGNED32 range 1 .. 2 ) of RTEMS.NAME; |
---|
| 41 | |
---|
| 42 | -- |
---|
| 43 | -- This variable contains the ID of the remote task with which this |
---|
| 44 | -- test interacts. |
---|
| 45 | -- |
---|
| 46 | |
---|
| 47 | REMOTE_TID : RTEMS.ID; |
---|
| 48 | |
---|
| 49 | -- |
---|
| 50 | -- This variable contains the node on which the remote task with which |
---|
| 51 | -- this test interacts resides. |
---|
| 52 | -- |
---|
| 53 | |
---|
| 54 | REMOTE_NODE : RTEMS.UNSIGNED32; |
---|
| 55 | |
---|
| 56 | -- |
---|
| 57 | -- INIT |
---|
| 58 | -- |
---|
| 59 | -- DESCRIPTION: |
---|
| 60 | -- |
---|
| 61 | -- This RTEMS task initializes the application. |
---|
| 62 | -- |
---|
| 63 | |
---|
| 64 | procedure INIT ( |
---|
[3c4d8cd1] | 65 | ARGUMENT : in RTEMS.TASKS.ARGUMENT |
---|
[6d4e604b] | 66 | ); |
---|
[d43dd82] | 67 | pragma Convention (C, INIT); |
---|
[6d4e604b] | 68 | |
---|
| 69 | -- |
---|
| 70 | -- This is the area used for the partition. |
---|
| 71 | -- |
---|
| 72 | |
---|
| 73 | PARTITION_AREA : |
---|
| 74 | array ( RTEMS.UNSIGNED32 range 0 .. 1023 ) of RTEMS.UNSIGNED8; |
---|
| 75 | for PARTITION_AREA'ALIGNMENT use RTEMS.STRUCTURE_ALIGNMENT; |
---|
| 76 | |
---|
| 77 | end MPTEST; |
---|
Note: See
TracBrowser
for help on using the repository browser.