2011-12-13 Ralf Corsépius <ralf.corsepius@rtems.org>

* math/init.c, mathf/init.c, mathl/init.c: Move configuration section.
	* math/domath.c, mathf/domathf.c,  mathl/domathl.c: Regenerate.
	* math/domath.in: Generate domath* prototype.
This commit is contained in:
Ralf Corsepius
2011-12-13 12:11:10 +00:00
parent fa011f35d5
commit b3dbca32f2
8 changed files with 58 additions and 48 deletions

View File

@@ -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