4.115
Last change
on this file since c499856 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.0 KB
|
Rev | Line | |
---|
[8da756e] | 1 | -- |
---|
| 2 | -- MAIN / BODY |
---|
| 3 | -- |
---|
| 4 | -- DESCRIPTION: |
---|
| 5 | -- |
---|
[3a23218] | 6 | -- This is the entry point for Test MP14_NODE2 of the Multiprocessor |
---|
| 7 | -- Test Suite. |
---|
[8da756e] | 8 | -- |
---|
| 9 | -- DEPENDENCIES: |
---|
| 10 | -- |
---|
| 11 | -- |
---|
| 12 | -- |
---|
[3c4d8cd1] | 13 | -- COPYRIGHT (c) 1989-2011. |
---|
[8da756e] | 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 |
---|
[c499856] | 18 | -- http://www.rtems.org/license/LICENSE. |
---|
[8da756e] | 19 | -- |
---|
| 20 | |
---|
| 21 | with RTEMS; |
---|
[3c4d8cd1] | 22 | with RTEMS.TASKS; |
---|
[8da756e] | 23 | with MPTEST; |
---|
| 24 | with TEST_SUPPORT; |
---|
| 25 | |
---|
| 26 | procedure MP14_NODE2 is |
---|
| 27 | INIT_ID : RTEMS.ID; |
---|
| 28 | STATUS : RTEMS.STATUS_CODES; |
---|
| 29 | begin |
---|
| 30 | |
---|
[3c4d8cd1] | 31 | RTEMS.TASKS.CREATE( |
---|
[8da756e] | 32 | RTEMS.BUILD_NAME( 'I', 'N', 'I', 'T' ), |
---|
| 33 | 1, |
---|
| 34 | RTEMS.MINIMUM_STACK_SIZE, |
---|
| 35 | RTEMS.NO_PREEMPT, |
---|
| 36 | RTEMS.DEFAULT_ATTRIBUTES, |
---|
| 37 | INIT_ID, |
---|
| 38 | STATUS |
---|
| 39 | ); |
---|
| 40 | TEST_SUPPORT.DIRECTIVE_FAILED( STATUS, "TASK_CREATE OF INIT" ); |
---|
| 41 | |
---|
| 42 | |
---|
[3c4d8cd1] | 43 | RTEMS.TASKS.START( |
---|
[8da756e] | 44 | INIT_ID, |
---|
| 45 | MPTEST.INIT'ACCESS, |
---|
| 46 | 0, |
---|
| 47 | STATUS |
---|
| 48 | ); |
---|
| 49 | TEST_SUPPORT.DIRECTIVE_FAILED( STATUS, "TASK_START OF INIT" ); |
---|
| 50 | |
---|
| 51 | loop |
---|
| 52 | delay 120.0; |
---|
| 53 | end loop; |
---|
| 54 | |
---|
| 55 | end MP14_NODE2; |
---|
| 56 | |
---|
Note: See
TracBrowser
for help on using the repository browser.