source: rtems/testsuites/libtests/mathf/init.c @ e371ea9

4.10.0
Last change on this file since e371ea9 was e371ea9, checked in by cvs2git <rtems-devel@…>, on 03/18/11 at 10:11:42

This commit was manufactured by cvs2svn to create tag 'rtems-4-10-0'.

Sprout from rtems-4-10-branch 2011-02-08 15:56:24 UTC Joel Sherrill <joel.sherrill@…> 'Ensure all version instances say 4.10.'
Cherrypick from rtems-4-10-branch 2011-03-18 10:11:41 UTC cvs2git <rtems-devel@…> 'This commit was manufactured by cvs2svn to create branch':

cpukit/zlib/ChangeLog
cpukit/zlib/ChangeLog.zlib
cpukit/zlib/FAQ
cpukit/zlib/Makefile.am
cpukit/zlib/README
cpukit/zlib/adler32.c
cpukit/zlib/compress.c
cpukit/zlib/crc32.c
cpukit/zlib/deflate.c
cpukit/zlib/deflate.h
cpukit/zlib/doc/algorithm.txt
cpukit/zlib/gzclose.c
cpukit/zlib/gzguts.h
cpukit/zlib/gzlib.c
cpukit/zlib/gzread.c
cpukit/zlib/gzwrite.c
cpukit/zlib/infback.c
cpukit/zlib/inffast.c
cpukit/zlib/inflate.c
cpukit/zlib/inflate.h
cpukit/zlib/inftrees.c
cpukit/zlib/inftrees.h
cpukit/zlib/trees.c
cpukit/zlib/uncompr.c
cpukit/zlib/zconf.h
cpukit/zlib/zlib.3
cpukit/zlib/zlib.h
cpukit/zlib/zutil.c
cpukit/zlib/zutil.h
testsuites/libtests/mathf/.cvsignore
testsuites/libtests/mathf/Makefile.am
testsuites/libtests/mathf/domathf.c
testsuites/libtests/mathf/init.c
testsuites/libtests/mathf/mathf.scn

  • Property mode set to 100644
File size: 1.4 KB
Line 
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 *
13 *  COPYRIGHT (c) 1989-1999.
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
18 *  http://www.rtems.com/license/LICENSE.
19 *
20 *  $Id$
21 */
22
23#if __rtems__
24#include <bsp.h> /* for device driver prototypes */
25#endif
26
27#include <stdio.h>
28#include <stdlib.h>
29
30extern void domathf(void);
31
32#if __rtems__
33rtems_task Init(
34  rtems_task_argument ignored
35)
36#else
37int main( void )
38#endif
39{
40  fprintf( stdout, "*** FLOAT MATH TEST ***\n" );
41
42  domathf(); 
43
44  fprintf( stdout, "*** END OF FLOAT MATH TEST ***\n" );
45  exit( 0 );
46}
47
48#if __rtems__
49/* NOTICE: the clock driver is explicitly disabled */
50#define CONFIGURE_APPLICATION_DOES_NOT_NEED_CLOCK_DRIVER
51#define CONFIGURE_APPLICATION_NEEDS_CONSOLE_DRIVER
52
53#define CONFIGURE_MAXIMUM_TASKS           1
54#define CONFIGURE_INIT_TASK_ATTRIBUTES    RTEMS_FLOATING_POINT
55
56#define CONFIGURE_APPLICATION_DISABLE_FILESYSTEM
57
58#define CONFIGURE_RTEMS_INIT_TASKS_TABLE
59
60#define CONFIGURE_INIT
61#include <rtems/confdefs.h>
62#endif
Note: See TracBrowser for help on using the repository browser.