source: rtems/testsuites/psxtests/psxspin01/main.c @ f5f519bd

4.104.114.9
Last change on this file since f5f519bd was f5f519bd, checked in by Joel Sherrill <joel.sherrill@…>, on Jun 17, 2008 at 3:28:05 PM

2008-06-17 Joel Sherrill <joel.sherrill@…>

  • psxrwlock01/main.c, psxspin01/main.c: Now accounts for extra stack requested for initialization task.
  • Property mode set to 100644
File size: 1.0 KB
Line 
1/*
2 *  Simple test program wrapper for Spinlocks
3 *
4 *  COPYRIGHT (c) 1989-2008.
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 CONFIGURE_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 2
35
36#define CONFIGURE_MAXIMUM_POSIX_SPINLOCKS 1
37
38#define CONFIGURE_RTEMS_INIT_TASKS_TABLE
39#define CONFIGURE_INIT_TASK_STACK_SIZE    (RTEMS_MINIMUM_STACK_SIZE * 2)
40#define CONFIGURE_INIT_TASK_PRIORITY      2
41#define CONFIGURE_INIT_TASK_INITIAL_MODES RTEMS_PREEMPT
42
43#define CONFIGURE_EXTRA_TASK_STACKS       RTEMS_MINIMUM_STACK_SIZE
44
45#define CONFIGURE_INIT
46
47#include <rtems/confdefs.h>
48
49/* end of file */
Note: See TracBrowser for help on using the repository browser.