From 56b7951e4563580d96b5d2249e2d3e3d62d48120 Mon Sep 17 00:00:00 2001 From: Joel Sherrill Date: Thu, 7 May 2009 17:48:15 +0000 Subject: 2009-05-07 Joel Sherrill * 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. --- testsuites/libtests/heapwalk/system.h | 51 +++++++++++++++++++++++++++++++++++ 1 file changed, 51 insertions(+) create mode 100644 testsuites/libtests/heapwalk/system.h (limited to 'testsuites/libtests/heapwalk/system.h') 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 + +/* 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 + +/* 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 */ -- cgit v1.2.3