diff options
Diffstat (limited to 'testsuites/libtests/mathl/init.c')
-rw-r--r-- | testsuites/libtests/mathl/init.c | 28 |
1 files changed, 13 insertions, 15 deletions
diff --git a/testsuites/libtests/mathl/init.c b/testsuites/libtests/mathl/init.c index 831aa97361..cb35aa4e55 100644 --- a/testsuites/libtests/mathl/init.c +++ b/testsuites/libtests/mathl/init.c @@ -34,6 +34,19 @@ extern void domathl(void); #if __rtems__ +/* NOTICE: the clock driver is explicitly disabled */ +#define CONFIGURE_APPLICATION_DOES_NOT_NEED_CLOCK_DRIVER +#define CONFIGURE_APPLICATION_NEEDS_CONSOLE_DRIVER + +#define CONFIGURE_MAXIMUM_TASKS 1 +#define CONFIGURE_INIT_TASK_ATTRIBUTES RTEMS_FLOATING_POINT +#define CONFIGURE_USE_DEVFS_AS_BASE_FILESYSTEM + +#define CONFIGURE_RTEMS_INIT_TASKS_TABLE + +#define CONFIGURE_INIT +#include <rtems/confdefs.h> + rtems_task Init( rtems_task_argument ignored ) @@ -48,18 +61,3 @@ int main( void ) fprintf( stdout, "*** END OF LONG DOUBLE MATH TEST ***\n" ); exit( 0 ); } - -#if __rtems__ -/* NOTICE: the clock driver is explicitly disabled */ -#define CONFIGURE_APPLICATION_DOES_NOT_NEED_CLOCK_DRIVER -#define CONFIGURE_APPLICATION_NEEDS_CONSOLE_DRIVER - -#define CONFIGURE_MAXIMUM_TASKS 1 -#define CONFIGURE_INIT_TASK_ATTRIBUTES RTEMS_FLOATING_POINT -#define CONFIGURE_USE_DEVFS_AS_BASE_FILESYSTEM - -#define CONFIGURE_RTEMS_INIT_TASKS_TABLE - -#define CONFIGURE_INIT -#include <rtems/confdefs.h> -#endif |