4.115
Last change
on this file since c499856 was
c499856,
checked in by Chris Johns <chrisj@…>, on 03/20/14 at 21:10:47
|
Change all references of rtems.com to rtems.org.
|
-
Property mode set to
100644
|
File size:
1.2 KB
|
Line | |
---|
1 | /** |
---|
2 | * @file |
---|
3 | * |
---|
4 | * Simple test program wrapper for Spinlocks |
---|
5 | */ |
---|
6 | |
---|
7 | /* |
---|
8 | * COPYRIGHT (c) 1989-2012. |
---|
9 | * On-Line Applications Research Corporation (OAR). |
---|
10 | * |
---|
11 | * The license and distribution terms for this file may be |
---|
12 | * found in the file LICENSE in this distribution or at |
---|
13 | * http://www.rtems.org/license/LICENSE. |
---|
14 | */ |
---|
15 | |
---|
16 | #define CONFIGURE_INIT |
---|
17 | |
---|
18 | #ifdef HAVE_CONFIG_H |
---|
19 | #include "config.h" |
---|
20 | #endif |
---|
21 | |
---|
22 | #include <bsp.h> |
---|
23 | #include <pmacros.h> |
---|
24 | |
---|
25 | /* forward declarations to avoid warnings */ |
---|
26 | rtems_task Init(rtems_task_argument ignored); |
---|
27 | void test_main(void); |
---|
28 | |
---|
29 | rtems_task Init( |
---|
30 | rtems_task_argument ignored |
---|
31 | ) |
---|
32 | { |
---|
33 | test_main(); |
---|
34 | rtems_test_exit( 0 ); |
---|
35 | } |
---|
36 | |
---|
37 | /* configuration information */ |
---|
38 | |
---|
39 | #define CONFIGURE_APPLICATION_NEEDS_CONSOLE_DRIVER |
---|
40 | #define CONFIGURE_APPLICATION_NEEDS_CLOCK_DRIVER |
---|
41 | |
---|
42 | #define CONFIGURE_MAXIMUM_TASKS 2 |
---|
43 | |
---|
44 | #define CONFIGURE_MAXIMUM_POSIX_SPINLOCKS 1 |
---|
45 | |
---|
46 | #define CONFIGURE_RTEMS_INIT_TASKS_TABLE |
---|
47 | #define CONFIGURE_INIT_TASK_STACK_SIZE (RTEMS_MINIMUM_STACK_SIZE * 2) |
---|
48 | #define CONFIGURE_INIT_TASK_PRIORITY 2 |
---|
49 | #define CONFIGURE_INIT_TASK_INITIAL_MODES RTEMS_PREEMPT |
---|
50 | |
---|
51 | #define CONFIGURE_EXTRA_TASK_STACKS RTEMS_MINIMUM_STACK_SIZE |
---|
52 | |
---|
53 | #define CONFIGURE_INIT |
---|
54 | |
---|
55 | #include <rtems/confdefs.h> |
---|
56 | |
---|
57 | /* end of file */ |
---|
Note: See
TracBrowser
for help on using the repository browser.