From 2156876d0e278d935622658200e975e8d657fbac Mon Sep 17 00:00:00 2001 From: Joel Sherrill Date: Fri, 13 Jun 2008 15:08:40 +0000 Subject: 2008-06-13 Joel Sherrill * 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. --- testsuites/samples/ChangeLog | 6 ++++++ testsuites/samples/minimum/init.c | 7 +++++++ 2 files changed, 13 insertions(+) (limited to 'testsuites') 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 + + * 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 * 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 -- cgit v1.2.3