4.115
Rev | Line | |
---|
[e12ba0e] | 1 | /* Init |
---|
| 2 | * |
---|
| 3 | * This routine is the initialization task for this test program. |
---|
| 4 | * It is called from init_exec and has the responsibility for creating |
---|
| 5 | * and starting the tasks that make up the test. If the time of day |
---|
| 6 | * clock is required for the test, it should also be set to a known |
---|
| 7 | * value by this function. |
---|
| 8 | * |
---|
| 9 | * Input parameters: NONE |
---|
| 10 | * |
---|
| 11 | * Output parameters: NONE |
---|
| 12 | * |
---|
[265d499a] | 13 | * COPYRIGHT (c) 1989-2008. |
---|
[e12ba0e] | 14 | * On-Line Applications Research Corporation (OAR). |
---|
| 15 | * |
---|
| 16 | * The license and distribution terms for this file may be |
---|
| 17 | * found in the file LICENSE in this distribution or at |
---|
[c499856] | 18 | * http://www.rtems.org/license/LICENSE. |
---|
[e12ba0e] | 19 | */ |
---|
| 20 | |
---|
| 21 | #define CONFIGURE_INIT |
---|
| 22 | #include "system.h" |
---|
| 23 | |
---|
| 24 | #include <iostream> |
---|
[c0ec0d82] | 25 | |
---|
[265d499a] | 26 | #include <stdlib.h> |
---|
[e12ba0e] | 27 | |
---|
[8c26e798] | 28 | const char rtems_test_name[] = "IOSTREAM"; |
---|
[9391f6d] | 29 | |
---|
[e12ba0e] | 30 | rtems_task Init( |
---|
| 31 | rtems_task_argument ignored |
---|
| 32 | ) |
---|
| 33 | { |
---|
[8c26e798] | 34 | std::cout << std::endl << std::endl |
---|
| 35 | << "*** BEGIN OF " << rtems_test_name << " TEST ***" << std::endl; |
---|
[e12ba0e] | 36 | std::cout << "Hello World" << std::endl; |
---|
[9391f6d] | 37 | std::cout << "*** END OF " << rtems_test_name << " TEST ***" << std::endl; |
---|
[e12ba0e] | 38 | exit( 0 ); |
---|
| 39 | } |
---|
[c0ec0d82] | 40 | |
---|
Note: See
TracBrowser
for help on using the repository browser.