diff options
Diffstat (limited to 'c/src/tests/mptests/mp12/system.h')
-rw-r--r-- | c/src/tests/mptests/mp12/system.h | 55 |
1 files changed, 55 insertions, 0 deletions
diff --git a/c/src/tests/mptests/mp12/system.h b/c/src/tests/mptests/mp12/system.h new file mode 100644 index 0000000000..af91912676 --- /dev/null +++ b/c/src/tests/mptests/mp12/system.h @@ -0,0 +1,55 @@ +/* system.h + * + * This include file contains information that is included in every + * function in the test set. + * + * COPYRIGHT (c) 1989-1997. + * On-Line Applications Research Corporation (OAR). + * Copyright assigned to U.S. Government, 1994. + * + * The license and distribution terms for this file may in + * the file LICENSE in this distribution or at + * http://www.OARcorp.com/rtems/license.html. + * + * $Id$ + */ + +#include <tmacros.h> + +#define PT_NAME rtems_build_name( 'P', 'A', 'R', '\0' ) + +/* functions */ + +rtems_task Init( + rtems_task_argument argument +); + +/* configuration information */ + +#define CONFIGURE_MPTEST + +#define CONFIGURE_TEST_NEEDS_CONSOLE_DRIVER +#define CONFIGURE_TEST_NEEDS_CLOCK_DRIVER + +#define CONFIGURE_MP_MAXIMUM_GLOBAL_OBJECTS 1 +#define CONFIGURE_MP_MAXIMUM_PROXIES 0 + +#if ( NODE_NUMBER == 1 ) +#define CONFIGURE_MAXIMUM_PARTITIONS 1 +#elif ( NODE_NUMBER == 2 ) +#define CONFIGURE_MAXIMUM_PARTITIONS 2 +#endif + +#define CONFIGURE_RTEMS_INIT_TASKS_TABLE + +#include <confdefs.h> + +/* variables */ + +TEST_EXTERN rtems_id Task_id[ 4 ]; /* array of task ids */ +TEST_EXTERN rtems_name Task_name[ 4 ]; /* array of task names */ + +TEST_EXTERN rtems_id Partition_id[ 2 ]; /* array of partition ids */ +TEST_EXTERN rtems_name Partition_name[ 2 ]; /* array of partition names */ + +/* end of include file */ |