summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJoel Sherrill <joel.sherrill@OARcorp.com>2008-09-17 15:42:48 +0000
committerJoel Sherrill <joel.sherrill@OARcorp.com>2008-09-17 15:42:48 +0000
commite8fcadbc490beb95478b7d6a9b37e29c749bf9a7 (patch)
tree1d3f2c3e64fd7da429e8ffd2e64eda8bec678a32
parentbinutils-2.18.91. (diff)
downloadrtems-e8fcadbc490beb95478b7d6a9b37e29c749bf9a7.tar.bz2
2008-09-17 Miao Yan <yanmiaobest@gmail.com>
* hello/system.h, minimum/Makefile.am, minimum/init.c: Merge GSOC project code to add simple device only filesystem (devfs), optionally completely drop out filesystem, and to clean up disabling newlib reentrancy support. This dropped 17K from the minimum.exe for sparc/sis and arm/rtl22xx_t now has a 15K code space.
-rw-r--r--testsuites/samples/ChangeLog8
-rw-r--r--testsuites/samples/hello/system.h2
-rw-r--r--testsuites/samples/minimum/Makefile.am2
-rw-r--r--testsuites/samples/minimum/init.c4
4 files changed, 12 insertions, 4 deletions
diff --git a/testsuites/samples/ChangeLog b/testsuites/samples/ChangeLog
index 58b10c05e6..f1b48bb768 100644
--- a/testsuites/samples/ChangeLog
+++ b/testsuites/samples/ChangeLog
@@ -1,3 +1,11 @@
+2008-09-17 Miao Yan <yanmiaobest@gmail.com>
+
+ * hello/system.h, minimum/Makefile.am, minimum/init.c: Merge GSOC
+ project code to add simple device only filesystem (devfs), optionally
+ completely drop out filesystem, and to clean up disabling newlib
+ reentrancy support. This dropped 17K from the minimum.exe for
+ sparc/sis and arm/rtl22xx_t now has a 15K code space.
+
2008-09-06 Ralf Corsépius <ralf.corsepius@rtems.org>
* capture/system.h, capture/test1.c, fileio/init.c,
diff --git a/testsuites/samples/hello/system.h b/testsuites/samples/hello/system.h
index a4ac1a5a8b..1d5ac2ae33 100644
--- a/testsuites/samples/hello/system.h
+++ b/testsuites/samples/hello/system.h
@@ -33,7 +33,7 @@ rtems_task Init(
#define CONFIGURE_RTEMS_INIT_TASKS_TABLE
-#define CONFIGURE_USE_MINIIMFS_AS_BASE_FILESYSTEM
+#define CONFIGURE_USE_DEVFS_AS_BASE_FILESYSTEM
#include <rtems/confdefs.h>
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 162fd6ffae..32b91478a3 100644
--- a/testsuites/samples/minimum/init.c
+++ b/testsuites/samples/minimum/init.c
@@ -34,9 +34,9 @@ rtems_task Init(
#define CONFIGURE_APPLICATION_DOES_NOT_NEED_CLOCK_DRIVER
/*
- * This is the smallest IO subsystem RTEMS currently supports.
+ * This application has no filesytem and libio support.
*/
-#define CONFIGURE_USE_MINIIMFS_AS_BASE_FILESYSTEM
+#define CONFIGURE_APPLICATION_DISABLE_FILESYSTEM
/*
* This disables reentrancy support in the C Library. It is usually