diff options
author | Joel Sherrill <joel.sherrill@OARcorp.com> | 2009-05-07 17:48:15 +0000 |
---|---|---|
committer | Joel Sherrill <joel.sherrill@OARcorp.com> | 2009-05-07 17:48:15 +0000 |
commit | 56b7951e4563580d96b5d2249e2d3e3d62d48120 (patch) | |
tree | 363896937fe539f082bbc0a5d891e9e295ff8d1f /testsuites/libtests/heapwalk/system.h | |
parent | 2009-05-07 Santosh G Vattam <vattam.santosh@gmail.com> (diff) | |
download | rtems-56b7951e4563580d96b5d2249e2d3e3d62d48120.tar.bz2 |
2009-05-07 Joel Sherrill <joel.sherrill@oarcorp.com>
* Makefile.am, configure.ac: Add shell of heap walk test for Santosh.
* heapwalk/.cvsignore, heapwalk/Makefile.am, heapwalk/heapwalk.scn,
heapwalk/init.c, heapwalk/system.h: New files.
Diffstat (limited to 'testsuites/libtests/heapwalk/system.h')
-rw-r--r-- | testsuites/libtests/heapwalk/system.h | 51 |
1 files changed, 51 insertions, 0 deletions
diff --git a/testsuites/libtests/heapwalk/system.h b/testsuites/libtests/heapwalk/system.h new file mode 100644 index 0000000000..eacd2d330f --- /dev/null +++ b/testsuites/libtests/heapwalk/system.h @@ -0,0 +1,51 @@ +/* system.h + * + * This include file contains information that is included in every + * function in the test set. + * + * COPYRIGHT (c) 1989-1999. + * On-Line Applications Research Corporation (OAR). + * + * The license and distribution terms for this file may be + * found in the file LICENSE in this distribution or at + * http://www.rtems.com/license/LICENSE. + * + * $Id$ + */ + +#include <tmacros.h> + +/* macros */ + +/* functions */ + +rtems_task Init( + rtems_task_argument argument +); + +rtems_task Task_1_through_5( + rtems_task_argument argument +); + +void blow_stack( void ); + +/* configuration information */ + +#define CONFIGURE_APPLICATION_NEEDS_CONSOLE_DRIVER +#define CONFIGURE_APPLICATION_NEEDS_CLOCK_DRIVER + +#define TASK_STACK_SIZE (RTEMS_MINIMUM_STACK_SIZE*3) + +#define CONFIGURE_EXTRA_TASK_STACKS ((TASK_STACK_SIZE)*5) +#define CONFIGURE_MAXIMUM_TASKS 6 + +#define CONFIGURE_RTEMS_INIT_TASKS_TABLE + +#include <rtems/confdefs.h> + +/* global variables */ + +TEST_EXTERN rtems_id Task_id[ 6 ]; /* array of task ids */ +TEST_EXTERN rtems_name Task_name[ 6 ]; /* array of task names */ + +/* end of include file */ |