forked from Imagelibrary/rtems
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:
@@ -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>
|
||||
|
||||
@@ -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)
|
||||
{
|
||||
|
||||
@@ -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)
|
||||
{
|
||||
|
||||
@@ -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)
|
||||
{
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user