summaryrefslogtreecommitdiffstats
path: root/testsuites
diff options
context:
space:
mode:
authorJoel Sherrill <joel.sherrill@OARcorp.com>2008-06-13 15:08:40 +0000
committerJoel Sherrill <joel.sherrill@OARcorp.com>2008-06-13 15:08:40 +0000
commit2156876d0e278d935622658200e975e8d657fbac (patch)
tree5e316b2324fb29507ad8d8b1202b830032eda1ac /testsuites
parent2008-06-13 Joel Sherrill <joel.sherrill@oarcorp.com> (diff)
downloadrtems-2156876d0e278d935622658200e975e8d657fbac.tar.bz2
2008-06-13 Joel Sherrill <joel.sherrill@oarcorp.com>
* minimum/init.c: Exerise new ability for application to configure minimum stack size. This test still runs the same with a 7.5K stack on the powerpc but reserves 15K less Workspace on the PowerPC.
Diffstat (limited to 'testsuites')
-rw-r--r--testsuites/samples/ChangeLog6
-rw-r--r--testsuites/samples/minimum/init.c7
2 files changed, 13 insertions, 0 deletions
diff --git a/testsuites/samples/ChangeLog b/testsuites/samples/ChangeLog
index 3df6a1659f..4666295cb2 100644
--- a/testsuites/samples/ChangeLog
+++ b/testsuites/samples/ChangeLog
@@ -1,3 +1,9 @@
+2008-06-13 Joel Sherrill <joel.sherrill@oarcorp.com>
+
+ * minimum/init.c: Exerise new ability for application to configure
+ minimum stack size. This test still runs the same with a 7.5K stack
+ on the powerpc but reserves 15K less Workspace on the PowerPC.
+
2008-06-05 Joel Sherrill <joel.sherrill@OARcorp.com>
* minimum/Makefile.am: Link against all managers.
diff --git a/testsuites/samples/minimum/init.c b/testsuites/samples/minimum/init.c
index e41fc860c5..0d4609f2dc 100644
--- a/testsuites/samples/minimum/init.c
+++ b/testsuites/samples/minimum/init.c
@@ -50,6 +50,13 @@ rtems_task Init(
*/
#define CONFIGURE_LIBIO_MAXIMUM_FILE_DESCRIPTORS 0
+/*
+ * This may prevent us from running on every architecture but it
+ * demonstrates that the user can specify how small of a minimum
+ * stack they want.
+ */
+#define CONFIGURE_MINIMUM_TASK_STACK_SIZE 512
+
#define CONFIGURE_INIT
#include <rtems/confdefs.h>