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

* complex/init.c: Move configuration section.
	* complex/docomplex.c, complex/docomplexf.c, complex/docomplexl.c:
	Regenerate.
This commit is contained in:
Ralf Corsepius
2011-12-13 10:49:25 +00:00
parent 5f818ec1be
commit 9c2d082ba9
5 changed files with 25 additions and 18 deletions

View File

@@ -1,5 +1,8 @@
2011-12-13 Ralf Corsépius <ralf.corsepius@rtems.org>
* complex/init.c: Move configuration section.
* complex/docomplex.c, complex/docomplexf.c, complex/docomplexl.c:
Regenerate.
* complex/docomplex.in: Generate prototype docomplex* prototype.
2011-12-09 Ralf Corsépius <ralf.corsepius@rtems.org>

View File

@@ -1,5 +1,5 @@
/*
* Copyright (c) 2010 by
* Copyright (c) 2010, 2011 by
* Ralf Corsepius, Ulm/Germany. All rights reserved.
*
* Permission to use, copy, modify, and distribute this software
@@ -17,6 +17,8 @@
#include <complex.h>
#include <stdio.h>
extern void docomplex (void);
void
docomplex (void)
{

View File

@@ -1,5 +1,5 @@
/*
* Copyright (c) 2010 by
* Copyright (c) 2010, 2011 by
* Ralf Corsepius, Ulm/Germany. All rights reserved.
*
* Permission to use, copy, modify, and distribute this software
@@ -17,6 +17,8 @@
#include <complex.h>
#include <stdio.h>
extern void docomplexf (void);
void
docomplexf (void)
{

View File

@@ -1,5 +1,5 @@
/*
* Copyright (c) 2010 by
* Copyright (c) 2010, 2011 by
* Ralf Corsepius, Ulm/Germany. All rights reserved.
*
* Permission to use, copy, modify, and distribute this software
@@ -17,6 +17,8 @@
#include <complex.h>
#include <stdio.h>
extern void docomplexl (void);
void
docomplexl (void)
{

View File

@@ -38,6 +38,19 @@ extern void docomplexl(void);
#endif
#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_USE_DEVFS_AS_BASE_FILESYSTEM
#define CONFIGURE_INIT_TASK_ATTRIBUTES RTEMS_FLOATING_POINT
#define CONFIGURE_RTEMS_INIT_TASKS_TABLE
#define CONFIGURE_INIT
#include <rtems/confdefs.h>
rtems_task Init(
rtems_task_argument ignored
)
@@ -55,18 +68,3 @@ int main( void )
fprintf( stdout, "*** END OF COMPLEX 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_USE_DEVFS_AS_BASE_FILESYSTEM
#define CONFIGURE_INIT_TASK_ATTRIBUTES RTEMS_FLOATING_POINT
#define CONFIGURE_RTEMS_INIT_TASKS_TABLE
#define CONFIGURE_INIT
#include <rtems/confdefs.h>
#endif