source: rtems/testsuites/psxtests/psxbarrier01/main.c @ f029dd9

4.104.114.84.95
Last change on this file since f029dd9 was f029dd9, checked in by Joel Sherrill <joel.sherrill@…>, on 11/15/06 at 14:13:02

2006-11-15 Joel Sherrill <joel.sherrill@…>

  • psxbarrier01/main.c: New file.
  • Property mode set to 100644
File size: 953 bytes
Line 
1/*
2 *  Simple test program -- simplified version of sample test hello.
3 *
4 *  COPYRIGHT (c) 1989-1999.
5 *  On-Line Applications Research Corporation (OAR).
6 *
7 *  The license and distribution terms for this file may be
8 *  found in the file LICENSE in this distribution or at
9 *  http://www.rtems.com/license/LICENSE.
10 *
11 *  $Id$
12 */
13
14#define TEST_INIT
15
16#include <bsp.h>
17#include <pmacros.h>
18
19void test_main( void );
20
21rtems_task Init(
22  rtems_task_argument ignored
23)
24{
25  test_main();
26  rtems_test_exit( 0 );
27}
28
29/* configuration information */
30
31#define CONFIGURE_APPLICATION_NEEDS_CONSOLE_DRIVER
32#define CONFIGURE_APPLICATION_NEEDS_CLOCK_DRIVER
33
34#define CONFIGURE_MAXIMUM_TASKS 1
35#define CONFIGURE_MAXIMUM_POSIX_THREADS 10
36
37#define CONFIGURE_MAXIMUM_POSIX_BARRIERS 1
38
39#define CONFIGURE_RTEMS_INIT_TASKS_TABLE
40#define CONFIGURE_INIT_TASK_STACK_SIZE    (RTEMS_MINIMUM_STACK_SIZE * 2)
41
42#define CONFIGURE_INIT
43
44#include <rtems/confdefs.h>
45
46/* end of file */
Note: See TracBrowser for help on using the repository browser.