From f029dd9b04ae009d332f3340c74260239701263a Mon Sep 17 00:00:00 2001 From: Joel Sherrill Date: Wed, 15 Nov 2006 14:13:02 +0000 Subject: 2006-11-15 Joel Sherrill * psxbarrier01/main.c: New file. --- testsuites/psxtests/ChangeLog | 4 +++ testsuites/psxtests/psxbarrier01/main.c | 46 +++++++++++++++++++++++++++++++++ 2 files changed, 50 insertions(+) create mode 100644 testsuites/psxtests/psxbarrier01/main.c (limited to 'testsuites') diff --git a/testsuites/psxtests/ChangeLog b/testsuites/psxtests/ChangeLog index b822dfef4e..1bf6f6bf8e 100644 --- a/testsuites/psxtests/ChangeLog +++ b/testsuites/psxtests/ChangeLog @@ -1,3 +1,7 @@ +2006-11-15 Joel Sherrill + + * psxbarrier01/main.c: New file. + 2006-11-15 Joel Sherrill * psxrwlock01/.cvsignore, psxrwlock01/Makefile.am, psxrwlock01/main.c, diff --git a/testsuites/psxtests/psxbarrier01/main.c b/testsuites/psxtests/psxbarrier01/main.c new file mode 100644 index 0000000000..71274c9cf1 --- /dev/null +++ b/testsuites/psxtests/psxbarrier01/main.c @@ -0,0 +1,46 @@ +/* + * Simple test program -- simplified version of sample test hello. + * + * 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$ + */ + +#define TEST_INIT + +#include +#include + +void test_main( void ); + +rtems_task Init( + rtems_task_argument ignored +) +{ + test_main(); + rtems_test_exit( 0 ); +} + +/* configuration information */ + +#define CONFIGURE_APPLICATION_NEEDS_CONSOLE_DRIVER +#define CONFIGURE_APPLICATION_NEEDS_CLOCK_DRIVER + +#define CONFIGURE_MAXIMUM_TASKS 1 +#define CONFIGURE_MAXIMUM_POSIX_THREADS 10 + +#define CONFIGURE_MAXIMUM_POSIX_BARRIERS 1 + +#define CONFIGURE_RTEMS_INIT_TASKS_TABLE +#define CONFIGURE_INIT_TASK_STACK_SIZE (RTEMS_MINIMUM_STACK_SIZE * 2) + +#define CONFIGURE_INIT + +#include + +/* end of file */ -- cgit v1.2.3