diff options
Diffstat (limited to 'c/src/tests/libffi/ffitest/init.c')
-rw-r--r-- | c/src/tests/libffi/ffitest/init.c | 35 |
1 files changed, 35 insertions, 0 deletions
diff --git a/c/src/tests/libffi/ffitest/init.c b/c/src/tests/libffi/ffitest/init.c new file mode 100644 index 0000000000..30086c51c2 --- /dev/null +++ b/c/src/tests/libffi/ffitest/init.c @@ -0,0 +1,35 @@ +/* Init + * + * This routine is the initialization task for this test program. + * It is called from init_exec and has the responsibility for creating + * and starting the tasks that make up the test. If the time of day + * clock is required for the test, it should also be set to a known + * value by this function. + * + * Input parameters: NONE + * + * Output parameters: NONE + * + * COPYRIGHT (c) 1989-1999. + * On-Line Applications Research Corporation (OAR). + * + * The license and distribution terms for this file may be + * found in the file LICENSE in this distribution or at + * http://www.OARcorp.com/rtems/license.html. + * + */ + +#define TEST_INIT +#include "system.h" + +extern int ffi_main ( void ); + +rtems_task Init( + rtems_task_argument ignored +) +{ + printf( "\n\n*** LIBFFI TEST ***\n" ); + ffi_main(); + printf( "*** END OF LIBFFI TEST ***\n" ); + exit( 0 ); +}
\ No newline at end of file |