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

5
Last change on this file since c4b8b147 was c4b8b147, checked in by Sebastian Huber <sebastian.huber@…>, on 11/03/17 at 07:35:38

tests: Use simple console driver

Update #3170.
Update #3199.

  • Property mode set to 100644
File size: 1.1 KB
Line 
1/*
2 *  COPYRIGHT (c) 1989-2012.
3 *  On-Line Applications Research Corporation (OAR).
4 *
5 *  The license and distribution terms for this file may be
6 *  found in the file LICENSE in this distribution or at
7 *  http://www.rtems.org/license/LICENSE.
8 */
9
10
11#ifdef HAVE_CONFIG_H
12#include "config.h"
13#endif
14
15#include <rtems/test.h>
16#include <bsp.h>
17#include <pmacros.h>
18
19/* forward declarations to avoid warnings */
20rtems_task Init(rtems_task_argument argument);
21
22void test_main( void );
23
24rtems_task Init(
25  rtems_task_argument ignored
26)
27{
28  test_main();
29  rtems_test_exit( 0 );
30}
31
32/* configuration information */
33
34#define CONFIGURE_APPLICATION_NEEDS_SIMPLE_CONSOLE_DRIVER
35#define CONFIGURE_APPLICATION_NEEDS_CLOCK_DRIVER
36
37#define CONFIGURE_MAXIMUM_TASKS 1
38#define CONFIGURE_INITIAL_EXTENSIONS RTEMS_TEST_INITIAL_EXTENSION
39
40#define CONFIGURE_MAXIMUM_POSIX_THREADS 10
41
42#define CONFIGURE_INITIAL_EXTENSIONS RTEMS_TEST_INITIAL_EXTENSION
43
44#define CONFIGURE_RTEMS_INIT_TASKS_TABLE
45#define CONFIGURE_INIT_TASK_STACK_SIZE    (RTEMS_MINIMUM_STACK_SIZE * 2)
46
47#define CONFIGURE_INIT
48
49#include <rtems/confdefs.h>
50
51/* end of file */
Note: See TracBrowser for help on using the repository browser.