diff options
author | Joel Sherrill <joel.sherrill@OARcorp.com> | 2008-06-13 15:08:40 +0000 |
---|---|---|
committer | Joel Sherrill <joel.sherrill@OARcorp.com> | 2008-06-13 15:08:40 +0000 |
commit | 2156876d0e278d935622658200e975e8d657fbac (patch) | |
tree | 5e316b2324fb29507ad8d8b1202b830032eda1ac /testsuites/samples/minimum/init.c | |
parent | 2008-06-13 Joel Sherrill <joel.sherrill@oarcorp.com> (diff) | |
download | rtems-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 '')
-rw-r--r-- | testsuites/samples/minimum/init.c | 7 |
1 files changed, 7 insertions, 0 deletions
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> |