source: rtems/testsuites/psxtests/psxspin01/main.c @ 9b4422a2

4.115
Last change on this file since 9b4422a2 was 9b4422a2, checked in by Joel Sherrill <joel.sherrill@…>, on 05/03/12 at 15:09:24

Remove All CVS Id Strings Possible Using a Script

Script does what is expected and tries to do it as
smartly as possible.

+ remove occurrences of two blank comment lines

next to each other after Id string line removed.

+ remove entire comment blocks which only exited to

contain CVS Ids

+ If the processing left a blank line at the top of

a file, it was removed.

  • Property mode set to 100644
File size: 1.1 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
12#define CONFIGURE_INIT
13
14#ifdef HAVE_CONFIG_H
15#include "config.h"
16#endif
17
18#include <bsp.h>
19#include <pmacros.h>
20
21void test_main( void );
22
23rtems_task Init(
24  rtems_task_argument ignored
25)
26{
27  test_main();
28  rtems_test_exit( 0 );
29}
30
31/* configuration information */
32
33#define CONFIGURE_APPLICATION_NEEDS_CONSOLE_DRIVER
34#define CONFIGURE_APPLICATION_NEEDS_CLOCK_DRIVER
35
36#define CONFIGURE_MAXIMUM_TASKS 2
37
38#define CONFIGURE_MAXIMUM_POSIX_SPINLOCKS 1
39
40#define CONFIGURE_RTEMS_INIT_TASKS_TABLE
41#define CONFIGURE_INIT_TASK_STACK_SIZE    (RTEMS_MINIMUM_STACK_SIZE * 2)
42#define CONFIGURE_INIT_TASK_PRIORITY      2
43#define CONFIGURE_INIT_TASK_INITIAL_MODES RTEMS_PREEMPT
44
45#define CONFIGURE_EXTRA_TASK_STACKS       RTEMS_MINIMUM_STACK_SIZE
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.