From 6b6c06be2cc6bf69e7c0a3a1d5c3b3390c4c307f Mon Sep 17 00:00:00 2001 From: Joel Sherrill Date: Wed, 9 May 2007 18:55:12 +0000 Subject: 2007-05-09 Joel Sherrill * minimum/Makefile.am, minimum/init.c: Switch back to using optional manager support. Also add use of CONFIGURE_DISABLE_NEWLIB_REENTRANCY to demonstrate that the newlib reentrancy support is optional. --- testsuites/samples/ChangeLog | 6 ++++++ testsuites/samples/minimum/Makefile.am | 2 +- testsuites/samples/minimum/init.c | 14 +++++++++++++- 3 files changed, 20 insertions(+), 2 deletions(-) diff --git a/testsuites/samples/ChangeLog b/testsuites/samples/ChangeLog index c062e1bb3d..c8b90e88d0 100644 --- a/testsuites/samples/ChangeLog +++ b/testsuites/samples/ChangeLog @@ -1,3 +1,9 @@ +2007-05-09 Joel Sherrill + + * minimum/Makefile.am, minimum/init.c: Switch back to using optional + manager support. Also add use of CONFIGURE_DISABLE_NEWLIB_REENTRANCY + to demonstrate that the newlib reentrancy support is optional. + 2007-04-13 Ralf Corsépius * nsecs/init.c: Remove private decl of _Timespec_Subtract use the diff --git a/testsuites/samples/minimum/Makefile.am b/testsuites/samples/minimum/Makefile.am index 7275dedbdd..e846b3bfe3 100644 --- a/testsuites/samples/minimum/Makefile.am +++ b/testsuites/samples/minimum/Makefile.am @@ -2,7 +2,7 @@ ## $Id$ ## -MANAGERS = all +MANAGERS = rtems_tests_PROGRAMS = minimum.exe minimum_exe_SOURCES = init.c diff --git a/testsuites/samples/minimum/init.c b/testsuites/samples/minimum/init.c index 50062dc022..67988fb04c 100644 --- a/testsuites/samples/minimum/init.c +++ b/testsuites/samples/minimum/init.c @@ -21,9 +21,21 @@ rtems_task Init( /* configuration information */ #define CONFIGURE_RTEMS_INIT_TASKS_TABLE -#define CONFIGURE_USE_MINIIMFS_AS_BASE_FILESYSTEM #define CONFIGURE_MAXIMUM_TASKS 1 +/* + * This is the smallest IO subsystem RTEMS currently supports. + */ +#define CONFIGURE_USE_MINIIMFS_AS_BASE_FILESYSTEM + +/* + * This disables reentrancy support in the C Library. It is usually + * not something an application wants to do unless the development + * team is committed to using C Library routines that are KNOWN to + * be reentrant. Caveat Emptor!! + */ +#define CONFIGURE_DISABLE_NEWLIB_REENTRANCY + #define CONFIGURE_INIT #include -- cgit v1.2.3